:root {
    --primary: #1e3a8a;
    --primary-dark: #0f172a;
    --primary-light: #3b82f6;
    --bkash-pink: #e2136e;
    --bkash-pink-hover: #c40a5a;
    --bkash-pink-light: #fce7f1;
    --bg-slate: #f8fafc;
    --card-border: rgba(226, 232, 240, 0.8);
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #1e293b;
}

.payment-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.portal-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: all 0.25s ease-in-out;
}

.portal-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.portal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 24px;
}

.customer-detail-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.bill-amount-display {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fecdd3;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.bill-amount-display .amount-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bkash-pink);
    line-height: 1.1;
}

.btn-bkash {
    background-color: var(--bkash-pink);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(226, 19, 110, 0.35);
}

.btn-bkash:hover {
    background-color: var(--bkash-pink-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(226, 19, 110, 0.45);
}

.btn-bkash:active {
    transform: translateY(0);
}

.btn-bkash:disabled {
    background-color: #f472b6;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-uddoktapay {
    background: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-uddoktapay:hover {
    background: linear-gradient(135deg, #4338ca 0%, #0e7490 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-uddoktapay:active {
    transform: translateY(0);
}

.btn-uddoktapay:disabled {
    background: #a5b4fc;
    cursor: not-allowed;
    box-shadow: none;
}

.bkash-logo-badge {
    background: white;
    color: var(--bkash-pink);
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-transform: lowercase;
}

.uddoktapay-logo-badge {
    background: white;
    color: #4f46e5;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Gateway Selection Cards */
.gateway-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    position: relative;
    user-select: none;
}

.gateway-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.gateway-card.active.gateway-bkash {
    border-color: var(--bkash-pink);
    background: #fff5f7;
    box-shadow: 0 0 0 1px var(--bkash-pink);
}

.gateway-card.active.gateway-uddoktapay {
    border-color: #4f46e5;
    background: #f5f3ff;
    box-shadow: 0 0 0 1px #4f46e5;
}

.gateway-card .radio-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.gateway-card.active.gateway-bkash .radio-indicator {
    border-color: var(--bkash-pink);
    background-color: var(--bkash-pink);
}

.gateway-card.active.gateway-uddoktapay .radio-indicator {
    border-color: #4f46e5;
    background-color: #4f46e5;
}

.gateway-card.active .radio-indicator::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.info-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.security-badge {
    font-size: 0.82rem;
    color: #475569;
}

.receipt-card {
    border-top: 6px solid var(--bkash-pink);
}

@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: #ffffff !important;
    }
    .portal-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
    }
}
