body {
    margin: 0;
    padding-top: 120px; /* For the header */
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
                url('images/hero jagara.jpg') center / cover no-repeat fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.box, .card {
    width: 90%;
    max-width: 520px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid #e0e0e0;
    text-align: center;
}

form { 
    text-align: left; 
}

h2 {
    margin-bottom: 25px;
    color: #00b4d8;
    font-weight: 700;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #444;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus, select:focus {
    border-color: #00b4d8;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 180, 216, 0.2);
}

.submit-btn {
    width: 100%;
    margin-top: 28px;
    padding: 14px;
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0096c7 0%, #0077b6 100%);
    transform: translateY(-2px);
}

.form-nav, .actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.nav-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-status-blue {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.btn-status-blue:hover {
    background: #1976d2;
    color: #fff;
    transform: translateY(-2px);
}

.btn-home-grey {
    background: #f5f5f5;
    color: #616161;
    border: 1px solid #e0e0e0;
}

.btn-home-grey:hover {
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
    color: #ffffff;
    border-color: #00b4d8;
    transform: translateY(-2px);
}

.btn-cek-inline {
    background: #3498db;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cek-inline:hover {
    background: #2980b9;
}

.status-text { 
    margin: 20px 0 10px; 
    font-size: 22px; 
    font-weight: bold; 
    color: #3E2723;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.waiting { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.expired { background: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; }

.info {
    margin-top: 15px;
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
}

.time { 
    margin-top: 10px; 
    color: #d32f2f; 
    font-weight: 600; 
}

.not-found { 
    color: #c0392b; 
    background: #f9ebea; 
    padding: 10px; 
    border-radius: 8px; 
    margin-top: 10px; 
}

.status-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden { display: none !important; }

.hint { margin:10px 0 0; color:#586568; font-size:0.95rem; }

.card-status {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0,0,0,0.05);
}

.title-status {
    color: #3E2723;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.info-row {
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.info-row b { 
    color: #1e293b; 
    font-weight: 600; 
}

.info-row span { 
    color: #475569; 
}

.instruction-box {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
}

.instruction-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-main-action {
    display: block;
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
    color: #ffffff !important;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 180, 216, 0.3);
}

.btn-main-action:hover {
    background: linear-gradient(135deg, #0096c7 0%, #0077b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 180, 216, 0.4);
}

.reject-box-modern {
    text-align: center;
    padding: 30px;
    background: #fff1f2;
    border-radius: 16px;
    margin-top: 20px;
}

.reject-box-modern p {
    color: #be123c;
    font-weight: 600;
    margin: 0;
}

.flex-center-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.payment-summary-box {
    background: #fef3c7;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #fde68a;
    text-align: center;
}

.payment-summary-box h3 {
    margin: 5px 0;
    color: #92400e;
}

.pending-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}

.btn-upload-bukti {
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.small-text {
    font-size: 13px;
    color: #666;
}