/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f2238;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: white;
    margin: 0;
    padding: 20px;
    line-height: 1.5;
}

.container {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-row {
    text-align: right;
    margin-bottom: 20px;
}

#langToggle {
    background: #2a4b73;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    font-size: 14px;
    transition: 0.2s;
}

#langToggle:hover {
    background: #3b6a9e;
}

/* ===== BANNER ===== */
.form-banner {
    width: 100%;
    margin-bottom: 28px;
}

.form-banner img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== PAYMENT STATUS CARD ===== */
.payment-status-card {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 32px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.payment-status-card legend {
    background: #0f2238;
    padding: 0 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    border-radius: 40px;
    width: auto;
    margin-left: 8px;
    border: 1px solid #2e4a70;
}

.payment-verified {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.big-checkbox {
    width: 64px;
    height: 64px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.payment-verified-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.5px;
}

.payment-subinfo {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ===== REDIRECT MESSAGE ===== */
.redirect-message {
    margin-top: 24px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    border-left: 3px solid #3b82f6;
    text-align: left;
}

.redirect-message.warning {
    background: rgba(245, 158, 11, 0.15);
    border-left-color: #f59e0b;
}

.redirect-message p {
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 14px;
}

.redirect-message .countdown {
    font-weight: 700;
    color: #facc15;
    font-size: 16px;
}

.redirect-message .small-note {
    font-size: 12px;
    color: #8fa5bc;
    margin-top: 8px;
}

/* ===== HONEYPOT ===== */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ===== RTL ARABIC STYLES ===== */
body.ar {
    direction: rtl;
    text-align: right;
}

body.ar .lang-row {
    text-align: left;
}

body.ar .payment-status-card legend {
    margin-left: 0;
    margin-right: 8px;
}

body.ar .redirect-message {
    border-left: none;
    border-right: 3px solid #3b82f6;
    text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .payment-status-card {
        padding: 20px 18px;
    }
    
    .payment-verified-text {
        font-size: 1.2rem;
    }
    
    .big-checkbox {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}
