/* ============================================================================
   FILE: assets/css/bank-details.css
   STYLING: Bank Account Details & UPI QR Code Page
   ============================================================================ */

.bank-page {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: 48px 0 72px;
    min-height: 70vh;
}

.bank-header-wrap {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
}

.bank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 90, 168, 0.1);
    color: #1E5AA8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid rgba(30, 90, 168, 0.2);
}

.bank-header-wrap h1 {
    font-size: 34px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 12px;
    line-height: 1.25;
}

.bank-header-wrap h1 span {
    color: #1E5AA8;
}

.bank-header-wrap p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Grid Layout */
.bank-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .bank-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Common */
.bank-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bank-card:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.bank-card-head {
    padding: 24px 28px;
    background: linear-gradient(135deg, #163D6B 0%, #1E5AA8 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 14px;
}

.bank-card-head .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bank-card-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
}

.bank-card-head p {
    font-size: 13px;
    margin: 2px 0 0;
    opacity: 0.85;
}

.bank-card-body {
    padding: 28px;
}

/* Bank Account List */
.bank-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #F1F5F9;
    gap: 16px;
}

.bank-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
}

.bank-detail-label i {
    width: 18px;
    color: #1E5AA8;
    font-size: 15px;
}

.bank-detail-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    text-align: right;
}

.bank-detail-value.highlight-ac {
    font-size: 18px;
    color: #1E5AA8;
    letter-spacing: 0.6px;
    font-family: 'Consolas', 'Courier New', monospace;
}

.bank-detail-value.highlight-ifsc {
    font-size: 16px;
    color: #059669;
    letter-spacing: 0.8px;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* Copy Button */
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: #1E5AA8;
    color: #FFFFFF;
    border-color: #1E5AA8;
}

.btn-copy.copied {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
}

/* QR Card Styling */
.qr-wrapper {
    text-align: center;
    padding: 10px;
}

.qr-box {
    position: relative;
    display: inline-block;
    padding: 18px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 2px dashed #CBD5E1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.qr-box img {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
}

.upi-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 18px;
}

.upi-apps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.upi-app-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #F1F5F9;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.upi-app-pill i {
    font-size: 14px;
}

.btn-download-qr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    transition: all 0.2s ease;
}

.btn-download-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
    color: #FFFFFF;
}

/* Instructions Section */
.instructions-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.instructions-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions-card h3 i {
    color: #F59E0B;
}

.instructions-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.step-item {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 20px;
    border-left: 4px solid #1E5AA8;
}

.step-num {
    display: inline-block;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: #1E5AA8;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 10px;
}

.step-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px;
}

.step-item p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

.bank-help-note {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #92400E;
    font-size: 14px;
    line-height: 1.5;
}

.bank-help-note i {
    font-size: 22px;
    color: #D97706;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .bank-header-wrap h1 {
        font-size: 26px;
    }
    .bank-card-body {
        padding: 20px;
    }
    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .bank-detail-value {
        width: 100%;
        justify-content: space-between;
    }
}
