/* ============================================================
   BANK GLOBAL OVERRIDES
   ============================================================ */

button.btn-text {
    text-decoration: none;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    border: none;
    background-color: transparent;
}

button.btn-text:hover {
    color: #00A3C3;
}

button.btn-text:focus {
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.nice-select::after {
    content: '';
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=password],
input[type=url],
textarea {
    font-size: 1rem;
    height: auto;
    line-height: 1.5;
    padding: .375rem .75rem;
}

.nice-select.open .list {
    max-height: 45vh !important;
    overflow-y: auto !important;
}

.nice-select .option:hover {
    background-color: var(--bs-gray-200);
}

[data-beneficiary] {
    cursor: pointer;
}

[data-beneficiary]:hover {
    background-color: var(--bs-light);
}


/* ============================================================
   GLASS GLOW AUTH PAGES — Premium Bank Login & Register
   ============================================================ */

/* ---- Keyframe animations ---- */

@keyframes bankGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bankOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33%       { transform: translate(40px, -50px) scale(1.08); opacity: 0.8; }
    66%       { transform: translate(-25px, 30px) scale(0.93); opacity: 0.5; }
}

@keyframes bankOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33%       { transform: translate(-50px, 40px) scale(1.1); opacity: 0.7; }
    66%       { transform: translate(35px, -25px) scale(0.9); opacity: 0.4; }
}

@keyframes bankOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50%       { transform: translate(25px, 35px) scale(1.06); opacity: 0.65; }
}

@keyframes bankParticle {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50%       { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

@keyframes bankCardEntry {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bankGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 163, 195, 0.12), 0 0 80px rgba(0, 77, 110, 0.08); }
    50%       { box-shadow: 0 0 60px rgba(0, 163, 195, 0.22), 0 0 120px rgba(0, 77, 110, 0.14); }
}


/* ---- Auth page outer wrapper ---- */

.auth-row {
    background:
        radial-gradient(ellipse at 18% 20%, rgba(0, 163, 195, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse at 82% 80%, rgba(0, 77, 110, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 10%, rgba(0, 188, 219, 0.18) 0%, transparent 40%),
        linear-gradient(145deg, #030c14 0%, #061526 30%, #04101e 60%, #030c18 100%);
    background-size: 300% 300%;
    animation: bankGradientShift 18s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Glow orb 1 — top-left teal */
.auth-row::before {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(0, 163, 195, 0.25) 0%, transparent 68%);
    top: -18%;
    left: -14%;
    border-radius: 50%;
    animation: bankOrb1 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Glow orb 2 — bottom-right navy */
.auth-row::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 77, 110, 0.35) 0%, transparent 65%);
    bottom: -22%;
    right: -18%;
    border-radius: 50%;
    animation: bankOrb2 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Grid dot overlay */
.auth-row > * {
    position: relative;
    z-index: 1;
}

/* Grid noise texture overlay */
.auth-row .col-12::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* Third orb — mid cyan, positioned inline via a wrapper pseudo */
.row.g-0.auth-row .col-12 {
    position: relative;
}


/* ---- Glass card container ---- */

.bank-auth-glass-card {
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    padding: 2.6rem 2.8rem;
    width: 100%;
    max-width: 500px;
    margin: 1.5rem auto;
    position: relative;
    z-index: 2;
    animation: bankCardEntry 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
               bankGlow 6s ease-in-out 0.6s infinite;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Inner top glow line */
.bank-auth-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 172, 204, 0.75), rgba(0, 188, 219, 0.5), transparent);
    border-radius: 50%;
}

/* Subtle floating particle */
.bank-auth-glass-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 163, 195, 0.1) 0%, transparent 70%);
    bottom: -40px;
    left: -40px;
    border-radius: 50%;
    pointer-events: none;
    animation: bankOrb3 10s ease-in-out infinite;
}

/* Signup form — wider card for long forms */
.bank-auth-glass-card:has(input[name="bank[bio][firstname]"]),
.bank-auth-glass-card:has([name^="bank["]) {
    max-width: 680px;
}


/* ---- Brand section ---- */

.bank-auth-brand {
    position: relative;
    z-index: 1;
}

.bank-auth-logo-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 163, 195, 0.25) 0%, rgba(0, 77, 110, 0.3) 100%);
    border: 1px solid rgba(0, 172, 204, 0.4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 30px rgba(0, 163, 195, 0.28),
        inset 0 0 20px rgba(0, 163, 195, 0.08);
    transition: all 0.4s ease;
}

.bank-auth-logo-wrap:hover {
    box-shadow:
        0 0 50px rgba(0, 163, 195, 0.48),
        inset 0 0 25px rgba(0, 163, 195, 0.12);
    transform: scale(1.05);
}

.bank-auth-logo-img {
    height: 42px;
    width: 42px;
    object-fit: contain;
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(0, 172, 204, 0.55));
}

.bank-auth-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 12px rgba(0, 163, 195, 0.25);
}

.bank-auth-tagline {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 0;
    letter-spacing: 0.04em;
}


/* ---- Section headings inside card (Personal Info, Authentication, etc.) ---- */

.bank-auth-glass-card h4 {
    color: rgba(0, 200, 230, 0.85);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 163, 195, 0.2) !important;
    margin-bottom: 1rem;
}

.bank-auth-glass-card .border-bottom {
    border-bottom-color: rgba(0, 163, 195, 0.2) !important;
}

.bank-auth-glass-card .text-info {
    color: rgba(0, 200, 230, 0.85) !important;
}


/* ---- Labels ---- */

.bank-auth-glass-card .form-label,
.bank-auth-glass-card label {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.025em;
    margin-bottom: 0.35rem;
}

.bank-auth-glass-card label.--required::after {
    content: ' *';
    color: rgba(239, 68, 68, 0.8);
}


/* ---- Form inputs ---- */

.bank-auth-glass-card .form-control,
.bank-auth-glass-card .form-select {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.9rem !important;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    box-shadow: none !important;
    outline: none;
    -webkit-appearance: none;
}

.bank-auth-glass-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.bank-auth-glass-card .form-control:focus,
.bank-auth-glass-card .form-select:focus {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(0, 172, 204, 0.75) !important;
    box-shadow:
        0 0 0 3px rgba(0, 163, 195, 0.2),
        0 0 18px rgba(0, 163, 195, 0.14) !important;
    color: #ffffff !important;
    outline: none;
}

.bank-auth-glass-card .form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Native select option fallback */
.bank-auth-glass-card .form-select option,
.bank-auth-glass-card select option {
    background: #061a26;
    color: #e0f8ff;
}

/* ---- Nice-select custom dropdown (replaces <select>) ---- */

.bank-auth-glass-card .nice-select {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    height: auto !important;
    line-height: 1.5 !important;
    padding: 0.6rem 2.2rem 0.6rem 0.9rem !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    float: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.bank-auth-glass-card .nice-select:hover,
.bank-auth-glass-card .nice-select.open {
    border-color: rgba(0, 172, 204, 0.6) !important;
}

.bank-auth-glass-card .nice-select.open {
    box-shadow: 0 0 0 3px rgba(0, 163, 195, 0.18) !important;
}

/* Arrow */
.bank-auth-glass-card .nice-select::after {
    border-color: rgba(255, 255, 255, 0.45) !important;
    right: 14px !important;
}

/* Dropdown panel */
.bank-auth-glass-card .nice-select .list {
    background-color: #071e2e !important;
    border: 1px solid rgba(0, 163, 195, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
    margin-top: 4px !important;
    padding: 6px !important;
    overflow-y: auto !important;
    max-height: 45vh !important;
}

/* Individual options */
.bank-auth-glass-card .nice-select .option {
    color: rgba(224, 248, 255, 0.85) !important;
    font-size: 0.88rem !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    min-height: unset !important;
    line-height: 1.4 !important;
    transition: background 0.15s ease !important;
}

.bank-auth-glass-card .nice-select .option:hover {
    background-color: rgba(0, 163, 195, 0.15) !important;
    color: #ffffff !important;
}

.bank-auth-glass-card .nice-select .option.selected {
    background-color: rgba(0, 163, 195, 0.2) !important;
    color: #00CCEE !important;
    font-weight: 600 !important;
}

.bank-auth-glass-card .nice-select .option.focus {
    background-color: rgba(0, 163, 195, 0.1) !important;
}

/* Date picker icon */
.bank-auth-glass-card input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(0) saturate(0) brightness(1.5);
    cursor: pointer;
    opacity: 0.6;
}

.bank-auth-glass-card input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Number input arrows */
.bank-auth-glass-card input[type="number"]::-webkit-outer-spin-button,
.bank-auth-glass-card input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}


/* ---- Submit buttons ---- */

.bank-auth-glass-card .btn-primary,
.bank-auth-glass-card button[type="submit"].btn {
    background: linear-gradient(90deg, #004D6E 0%, #00ACCC 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.7rem 1.6rem !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.025em;
    color: #ffffff !important;
    box-shadow:
        0 4px 20px rgba(0, 163, 195, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.15) inset !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.bank-auth-glass-card .btn-primary::before,
.bank-auth-glass-card button[type="submit"].btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.bank-auth-glass-card .btn-primary:hover::before,
.bank-auth-glass-card button[type="submit"].btn:hover::before {
    left: 100%;
}

.bank-auth-glass-card .btn-primary:hover,
.bank-auth-glass-card button[type="submit"].btn:hover {
    background: linear-gradient(90deg, #005f88 0%, #00BDD9 100%) !important;
    box-shadow:
        0 8px 32px rgba(0, 163, 195, 0.65),
        0 1px 0 rgba(255, 255, 255, 0.15) inset !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.bank-auth-glass-card .btn-primary:active,
.bank-auth-glass-card button[type="submit"].btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(0, 163, 195, 0.45);
}


/* ---- Text and links ---- */

.bank-auth-glass-card,
.bank-auth-glass-card p,
.bank-auth-glass-card .text-sm,
.bank-auth-glass-card small {
    color: rgba(255, 255, 255, 0.72);
}

.bank-auth-glass-card a {
    color: rgba(0, 210, 240, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bank-auth-glass-card a:hover {
    color: #00D8F0;
    text-decoration: underline;
}

/* Forgot/Reconfirm email link */
.bank-auth-glass-card .resend-email a,
.bank-auth-glass-card [data-vcode] {
    color: rgba(0, 188, 219, 0.55);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.bank-auth-glass-card .resend-email a:hover,
.bank-auth-glass-card [data-vcode]:hover {
    color: rgba(0, 210, 240, 0.9);
    text-decoration: none;
}


/* ---- Checkbox & radio ---- */

.bank-auth-glass-card .form-check-input {
    background-color: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transition: all 0.2s;
}

.bank-auth-glass-card .form-check-input:checked {
    background-color: #00A3C3;
    border-color: #00A3C3;
    box-shadow: 0 0 0 2px rgba(0, 163, 195, 0.3);
}

.bank-auth-glass-card .form-check-label {
    color: rgba(255, 255, 255, 0.6);
}


/* ---- Validation states ---- */

.bank-auth-glass-card .form-control.is-invalid,
.bank-auth-glass-card .was-validated .form-control:invalid {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    background-image: none;
}

.bank-auth-glass-card .form-control.is-valid,
.bank-auth-glass-card .was-validated .form-control:valid {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    background-image: none;
}

.bank-auth-glass-card .invalid-feedback {
    color: rgba(252, 129, 129, 0.9);
    font-size: 0.78rem;
}


/* ---- Spacing tweaks ---- */

.bank-auth-glass-card .row.py-3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.bank-auth-glass-card .col-sm-10.col-md-9.m-auto {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}


/* ---- Responsive ---- */

@media (max-width: 576px) {
    .bank-auth-glass-card {
        padding: 2rem 1.4rem;
        border-radius: 18px;
        margin: 1rem 0.6rem;
    }

    .bank-auth-logo-wrap {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .bank-auth-logo-img {
        height: 34px;
        width: 34px;
    }
}

@media (min-width: 768px) {
    .bank-auth-glass-card {
        padding: 3rem 3.2rem;
    }
}


/* ╔══════════════════════════════════════════════════════════════╗
   ║   BANK CLIENT DASHBOARD — OPay-class Fintech UI             ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ---- Ticker tape ---- */
.bk-ticker-wrap {
    background: #040e1c;
    border-bottom: 1px solid rgba(0, 163, 195, 0.12);
}

/* ═══════════════════════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════════════════════ */
.bk-wrap {
    padding: 28px 20px 48px;
}


/* ═══════════════════════════════════════════════════════════
   GREETING ROW
═══════════════════════════════════════════════════════════ */
.bk-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.bk-greeting-hi {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}

.bk-greeting-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0a1e2e;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.bk-greeting-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #004D6E, #00A3C3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 77, 110, 0.35);
    overflow: hidden;
}

.bk-greeting-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-greeting-date {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════
   HERO BALANCE CARD
═══════════════════════════════════════════════════════════ */
.bk-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(140deg, #012030 0%, #01374f 30%, #005872 60%, #00A3C3 100%);
    padding: 32px 28px 28px;
    margin-bottom: 16px;
    box-shadow:
        0 20px 56px rgba(0, 77, 110, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.07) inset;
    color: #fff;
}

/* Decorative circles — texture */
.bk-hero::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.bk-hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    bottom: -60px;
    left: 20px;
    pointer-events: none;
}

.bk-hero-inner {
    position: relative;
    z-index: 1;
}

.bk-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bk-hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.bk-hero-type {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 4px 11px;
    border-radius: 20px;
}

.bk-hero-balance {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
    line-height: 1;
}

.bk-hero-sym {
    font-size: 1.6rem;
    font-weight: 600;
    opacity: 0.7;
    align-self: center;
    margin-top: 4px;
}

.bk-hero-amount {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.bk-hero-cur {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.6;
    margin-left: 4px;
    align-self: flex-end;
    padding-bottom: 8px;
}

.bk-hero-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 18px;
}

.bk-hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.bk-hero-acct-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.bk-hero-acct-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bk-hero-acct-num {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #fff;
}

.bk-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}
.bk-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bk-hero-name-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.bk-hero-acct-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
}


/* ═══════════════════════════════════════════════════════════
   QUICK ACTIONS CARD
═══════════════════════════════════════════════════════════ */
.bk-actions {
    background: #fff;
    border-radius: 24px;
    padding: 24px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
}

.bk-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
}

.bk-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-decoration: none !important;
    color: #334155;
}

.bk-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.22s ease;
}

.bk-action-item:hover .bk-action-icon {
    transform: translateY(-4px) scale(1.06);
}

.bk-action-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: #475569;
    letter-spacing: 0.01em;
    line-height: 1.2;
}


/* ═══════════════════════════════════════════════════════════
   SECTION TITLE ROW
═══════════════════════════════════════════════════════════ */
.bk-section-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0 12px;
}

.bk-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0a1e2e;
    letter-spacing: -0.01em;
}

.bk-section-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #00A3C3 !important;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}
.bk-section-link:hover { opacity: 0.7; }


/* ═══════════════════════════════════════════════════════════
   WALLET CARDS — horizontal scroll
═══════════════════════════════════════════════════════════ */
.bk-wallets {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 8px;
}
.bk-wallets::-webkit-scrollbar { display: none; }

.bk-wallet {
    min-width: 190px;
    background: #fff;
    border-radius: 20px;
    padding: 18px 18px 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bk-wallet:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Accent top bar */
.bk-wallet::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wc1, #004D6E), var(--wc2, #00ACCC));
    border-radius: 20px 20px 0 0;
}

/* Background circle decoration */
.bk-wallet::after {
    content: '';
    position: absolute;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wc1, #004D6E), var(--wc2, #00ACCC));
    opacity: 0.07;
    top: -20px; right: -20px;
    pointer-events: none;
}

.bk-wallet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bk-wallet-code {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wc1, #004D6E);
}

.bk-wallet-default {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, var(--wc1, #004D6E), var(--wc2, #00ACCC));
    padding: 3px 9px;
    border-radius: 20px;
}

.bk-wallet-exchange {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
}
.bk-wallet-exchange:hover { background: #e2e8f0; color: #334155; }

.bk-wallet-name {
    font-size: 0.73rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 6px;
}

.bk-wallet-balance {
    font-size: 1.32rem;
    font-weight: 900;
    color: #0a1e2e;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.bk-wallet-avail {
    font-size: 0.65rem;
    color: #cbd5e1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ═══════════════════════════════════════════════════════════
   TRANSACTION LIST CARD
═══════════════════════════════════════════════════════════ */
.bk-txn-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    margin-bottom: 16px;
}

.bk-txn-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.bk-txn-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0a1e2e;
}

.bk-txn-list {
    padding: 4px 0;
}

.bk-txn-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    transition: background 0.15s;
}
.bk-txn-item:not(:last-child) {
    border-bottom: 1px solid #f8fafc;
}
.bk-txn-item:hover {
    background: #fafcfd;
}

.bk-txn-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bk-txn-icon--credit {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.bk-txn-icon--debit {
    background: rgba(220, 38, 38, 0.09);
    color: #dc2626;
}

.bk-txn-info {
    flex: 1;
    min-width: 0;
}

.bk-txn-desc {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.bk-txn-date {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.bk-txn-amount {
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    text-align: right;
}

.bk-txn-amount--credit { color: #059669; }
.bk-txn-amount--debit  { color: #dc2626; }

.bk-txn-empty {
    padding: 40px 22px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
}
.bk-txn-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}


/* ═══════════════════════════════════════════════════════════
   MARKET CARD
═══════════════════════════════════════════════════════════ */
.bk-mkt-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    margin-bottom: 16px;
}

.bk-mkt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.bk-mkt-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0a1e2e;
}

.bk-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #059669;
    background: rgba(5, 150, 105, 0.09);
    padding: 4px 11px;
    border-radius: 20px;
}

@keyframes bkPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}
.bk-live-pill .bk-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #059669;
    animation: bkPulse 1.6s infinite;
}

.bk-mkt-body { padding: 12px 16px 16px; }


/* ═══════════════════════════════════════════════════════════
   EXCHANGE RATES PANEL  (inside market/side card)
═══════════════════════════════════════════════════════════ */
.bk-rates-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    margin-bottom: 16px;
}

.bk-rates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.bk-rates-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0a1e2e;
}

.bk-rates-body {
    padding: 0 0 8px;
}


/* ═══════════════════════════════════════════════════════════
   DESKTOP — full multi-column layout (≥ 992px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 992px) {

    .bk-wrap {
        padding: 36px 40px 60px;
    }

    /* Greeting */
    .bk-greeting-name { font-size: 1.8rem; }

    /* Hero: fill full column height, larger balance */
    .bk-hero {
        height: 100%;
        padding: 40px 36px 36px;
        border-radius: 32px;
    }

    .bk-hero-amount {
        font-size: 3.8rem;
    }

    .bk-hero-sym {
        font-size: 2rem;
    }

    /* Quick actions: 6 icons in a single row on desktop */
    .bk-actions-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px 6px;
    }

    .bk-action-icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        font-size: 1.35rem;
    }

    .bk-action-label { font-size: 0.73rem; }

    /* Wallet cards: grid on desktop (no scroll) */
    .bk-wallets {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        overflow-x: unset;
        padding-bottom: 0;
    }

    .bk-wallet {
        min-width: unset;
    }

    /* Cards fill their Bootstrap column height */
    .bk-txn-card,
    .bk-mkt-card {
        height: 100%;
        margin-bottom: 0;
    }

    /* Remove bottom margin when inside a row (Bootstrap row handles gap) */
    .bk-hero,
    .bk-actions,
    .bk-rates-card {
        margin-bottom: 0;
    }

    /* Transaction list: show more rows, larger text */
    .bk-txn-item { padding: 16px 26px; }
    .bk-txn-desc { font-size: 0.9rem; }
    .bk-txn-amount { font-size: 0.95rem; }

    /* Market body padding */
    .bk-mkt-body { padding: 16px 20px 20px; }
}


/* ═══════════════════════════════════════════════════════════
   TABLET — (768px – 991px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 991px) {

    .bk-wrap { padding: 28px 24px 48px; }

    .bk-actions-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 8px 4px;
    }

    .bk-action-icon { width: 52px; height: 52px; font-size: 1.2rem; }

    .bk-wallets {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: unset;
    }

    .bk-wallet { min-width: unset; }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE — (< 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .bk-wrap { padding: 20px 14px 40px; }

    .bk-hero { padding: 26px 20px 22px; border-radius: 22px; }
    .bk-hero-amount { font-size: 2.4rem; }
    .bk-hero-sym { font-size: 1.3rem; }

    .bk-actions { padding: 18px 12px; border-radius: 20px; }
    .bk-action-icon { width: 50px; height: 50px; font-size: 1.1rem; border-radius: 14px; }
    .bk-action-label { font-size: 0.66rem; }

    .bk-wallet { min-width: 165px; }
    .bk-wallet-balance { font-size: 1.1rem; }

    .bk-txn-item { padding: 12px 16px; gap: 10px; }
    .bk-txn-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; }
}

@media (max-width: 360px) {
    .bk-hero-amount { font-size: 2rem; }
    .bk-greeting-name { font-size: 1.2rem; }
    .bk-actions-grid { gap: 10px 2px; }
}

