<?php
session_start();
if(!isset($_SESSION['user'])){
    header("Location: index.php");
    exit;
}
?>
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<title>Transfer Bank</title>
<style>
body{
    font-family: Arial, sans-serif;
    background:#f4f6f9;
    margin:0;
}
.container{
    width:70%;
    margin:40px auto;
}
.box{
    background:white;
    padding:30px;
    border-radius:14px;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
    text-align:center;
}
.bank{
    margin-top:20px;
    padding:20px;
    border:1px solid #ddd;
    border-radius:12px;
}
.btn{
    display:inline-block;
    margin-top:20px;
    padding:10px 18px;
    background:#28a745;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}
.back{
    background:#007bff;
}
</style>
</head>
<body>

<div class="container">
    <div class="box">
        <h2>🏦 Pembayaran Transfer Bank</h2>
        <p>Silakan transfer ke salah satu rekening berikut</p>

        <div class="bank">
            <h3>Bank Mandiri</h3>
            <p>No Rekening: <b>1234567890</b></p>
            <p>Atas Nama: <b>warung pojok</b></p>
        </div>

        <div class="bank">
            <h3>Bank BCA</h3>
            <p>No Rekening: <b>9876543210</b></p>
            <p>Atas Nama: <b>warung pojok</b></p>
        </div>

        <a href="upload_bukti.php" class="btn">✅ Saya Sudah Transfer</a>
        <a href="pembayaran.php" class="btn back">⬅️ Kembali</a>
    </div>
</div>

</body>
</html>