* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #071b33;
    --navy-light: #102b4e;
    --blue: #1769e0;
    --blue-hover: #0f56bc;
    --background: #f5f7fb;
    --white: #ffffff;
    --text: #162033;
    --muted: #667085;
    --border: #dfe5ec;
    --success: #157347;
    --danger: #b42318;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--background);
}

a {
    text-decoration: none;
}


/* ===============================
   AUTHENTICATION LAYOUT
================================ */

.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 46% 54%;
}


/* LEFT PANEL */

.auth-brand-panel {
    position: relative;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(35, 108, 214, 0.35),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #06182e,
            #0a2443 55%,
            #07192f
        );

    color: white;

    padding: 55px 65px;

    overflow: hidden;
}

.auth-brand-panel::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    right: -170px;
    bottom: -150px;
}

.brand-content {
    position: relative;
    z-index: 2;

    min-height: calc(100vh - 110px);

    display: flex;
    flex-direction: column;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    color: white;

    font-size: 22px;
    font-weight: 700;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #1769e0;

    color: white;

    font-weight: 800;
}

.brand-message {
    margin: auto 0;
    max-width: 520px;
}

.eyebrow {
    display: inline-block;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #8ebcff;

    margin-bottom: 22px;
}

.brand-message h1 {
    font-size: clamp(42px, 5vw, 66px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 26px;
}

.brand-message p {
    max-width: 470px;

    color: #b9c7d9;

    font-size: 17px;

    line-height: 1.8;
}

.security-note {
    display: flex;
    gap: 14px;

    max-width: 470px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,0.12);
}

.security-icon {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(45, 130, 255, 0.18);

    color: #7eb4ff;
}

.security-note strong {
    font-size: 14px;
}

.security-note p {
    margin-top: 5px;

    color: #91a4bc;

    font-size: 13px;

    line-height: 1.5;
}


/* RIGHT PANEL */

.auth-form-panel {
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 570px;
}

.mobile-brand {
    display: none;
}

.form-heading {
    margin-bottom: 32px;
}

.form-label {
    display: block;

    color: var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 12px;
}

.form-heading h2 {
    color: #101828;

    font-size: 36px;

    letter-spacing: -1px;

    margin-bottom: 12px;
}

.form-heading p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}


/* FORM */

.premium-form {
    width: 100%;
}

.form-group {
    margin-bottom: 21px;
}

.form-group label {
    display: block;

    color: #344054;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 8px;
}

.form-group input {
    width: 100%;

    height: 52px;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 0 15px;

    background: white;

    color: #101828;

    font-size: 15px;

    transition: 0.2s;
}

.form-group input::placeholder {
    color: #98a2b3;
}

.form-group input:focus {
    outline: none;

    border-color: var(--blue);

    box-shadow:
        0 0 0 4px rgba(23, 105, 224, 0.10);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}


/* PASSWORD */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 65px;
}

.show-password {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: var(--blue);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}


/* TERMS */

.terms {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 24px;
}

.terms input {
    width: 17px;
    height: 17px;

    margin-top: 1px;

    accent-color: var(--blue);
}


/* BUTTON */

.primary-button {
    width: 100%;

    height: 54px;

    border: none;

    border-radius: 10px;

    background: var(--blue);

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(23,105,224,0.20);

    transition: 0.2s;
}

.primary-button:hover {
    background: var(--blue-hover);

    transform: translateY(-1px);
}


/* MESSAGES */

.alert {
    padding: 13px 15px;

    margin-bottom: 22px;

    border-radius: 9px;

    font-size: 14px;
}

.alert.error {
    color: #b42318;

    background: #fef3f2;

    border: 1px solid #fecdca;
}

.alert.success {
    color: #067647;

    background: #ecfdf3;

    border: 1px solid #abefc6;
}


/* FOOTER */

.auth-footer {
    text-align: center;

    margin-top: 26px;

    color: var(--muted);

    font-size: 14px;
}

.auth-footer a {
    color: var(--blue);

    font-weight: 700;
}

.demo-disclaimer {
    text-align: center;

    color: #98a2b3;

    font-size: 11px;

    margin-top: 28px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .auth-layout {
        display: block;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;

        padding: 35px 22px;
    }

    .mobile-brand {
        display: flex;

        align-items: center;

        gap: 10px;

        color: var(--navy);

        font-size: 20px;
        font-weight: 700;

        margin-bottom: 45px;
    }
}

@media (max-width: 600px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-heading h2 {
        font-size: 30px;
    }

    .auth-form-panel {
        align-items: flex-start;
    }
}
/* ===============================
   LOGIN PAGE EXTRAS
================================ */

.field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.field-header label {
    margin-bottom: 0;
}

.forgot-link {
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-remember {
    margin-top: 2px;
}

.login-security {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 32px;
    padding: 16px;

    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 10px;

    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

.login-security span {
    font-size: 15px;
}
/* ==========================================
   PREMIUM DASHBOARD
========================================== */

.dashboard-body {
    background: #f4f7fb;
    min-height: 100vh;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}


/* SIDEBAR */

.sidebar {
    position: sticky;
    top: 0;

    height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 28px 18px;

    background:
        linear-gradient(
            180deg,
            #07182d 0%,
            #081d36 100%
        );

    color: white;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 10px 30px;
}

.sidebar-brand strong {
    display: block;

    font-size: 18px;
}

.sidebar-brand small {
    display: block;

    margin-top: 3px;

    color: #8ea2ba;

    font-size: 11px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    min-height: 48px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 14px;

    border-radius: 10px;

    color: #aebed0;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s;
}

.nav-item:hover {
    background:
        rgba(255,255,255,0.06);

    color: white;
}

.nav-item.active {
    background:
        rgba(30, 112, 237, 0.18);

    color: #ffffff;
}

.nav-icon {
    width: 24px;

    display: inline-flex;
    justify-content: center;

    font-size: 18px;
}

.sidebar-bottom {
    margin-top: auto;

    display: flex;
    flex-direction: column;

    gap: 6px;

    padding-top: 24px;

    border-top:
        1px solid rgba(255,255,255,0.08);
}

.logout-item {
    color: #ffb4b4;
}


/* MAIN */

.dashboard-main {
    min-width: 0;

    padding: 34px 38px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}

.dashboard-eyebrow {
    color: #1769e0;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 8px;
}

.dashboard-header h1 {
    color: #101828;

    font-size: 31px;

    letter-spacing: -0.8px;
}

.dashboard-user {
    display: flex;
    align-items: center;

    gap: 12px;
}

.user-copy {
    text-align: right;
}

.user-copy strong {
    display: block;

    color: #101828;

    font-size: 13px;
}

.user-copy span {
    display: block;

    margin-top: 4px;

    color: #7b8798;

    font-size: 11px;
}

.user-avatar {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b1f3a;

    color: white;

    font-size: 16px;
    font-weight: 800;
}


/* TOP GRID */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.8fr);

    gap: 22px;

    margin-bottom: 22px;
}


/* BALANCE CARD */

.balance-card {
    position: relative;

    overflow: hidden;

    padding: 30px;

    min-height: 315px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(50,139,255,0.32),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #071b33,
            #0a2b50
        );

    color: white;

    box-shadow:
        0 20px 45px
        rgba(7, 27, 51, 0.17);
}

.balance-card::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.08);

    right: -90px;
    bottom: -150px;
}

.balance-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
}

.card-label {
    display: block;

    color: #7b8aa0;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.6px;

    margin-bottom: 10px;
}

.balance-card .card-label {
    color: #8fb8ec;
}

.balance-card h2 {
    font-size: 46px;

    letter-spacing: -1.5px;
}

.balance-badge {
    padding: 7px 11px;

    border-radius: 999px;

    background:
        rgba(34, 197, 94, 0.12);

    border:
        1px solid rgba(134,239,172,0.28);

    color: #a7f3d0;

    font-size: 11px;
    font-weight: 700;
}

.balance-card-middle {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

    margin-top: 50px;
}

.balance-card-middle span {
    display: block;

    color: #8ea6c1;

    font-size: 11px;

    margin-bottom: 7px;
}

.balance-card-middle strong {
    font-size: 15px;
    font-weight: 650;
}

.balance-actions {
    position: relative;
    z-index: 2;

    display: flex;

    gap: 10px;

    margin-top: 36px;
}

.balance-action {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 9px;

    border:
        1px solid rgba(255,255,255,0.15);

    color: #dce7f5;

    font-size: 12px;
    font-weight: 700;
}

.balance-action.primary {
    background: #1769e0;

    border-color: #1769e0;

    color: white;
}


/* QUICK ACTIONS */

.quick-actions-card,
.dashboard-panel {
    background: white;

    border:
        1px solid #e8edf3;

    border-radius: 18px;

    box-shadow:
        0 10px 30px
        rgba(16, 24, 40, 0.04);
}

.quick-actions-card {
    padding: 24px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 22px;
}

.section-heading h3 {
    color: #172033;

    font-size: 18px;
}

.section-link {
    color: #1769e0;

    font-size: 12px;
    font-weight: 700;
}

.quick-actions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.quick-action {
    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px;

    border:
        1px solid #edf1f5;

    border-radius: 12px;

    background: #fbfcfe;

    transition: 0.2s;
}

.quick-action:hover {
    border-color: #cfdcf0;

    transform:
        translateY(-2px);
}

.quick-icon {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4ff;

    color: #1769e0;

    font-size: 18px;
    font-weight: 800;
}

.quick-action strong {
    display: block;

    color: #192334;

    font-size: 12px;
}

.quick-action small {
    display: block;

    margin-top: 4px;

    color: #8b96a7;

    font-size: 10px;

    line-height: 1.4;
}


/* LOWER GRID */

.dashboard-lower-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(300px, 0.65fr);

    gap: 22px;
}

.dashboard-panel {
    padding: 24px;
}


/* TRANSACTIONS */

.transaction-list {
    min-height: 230px;
}

.transaction-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 17px 0;

    border-bottom:
        1px solid #edf0f4;
}

.transaction-row:last-child {
    border-bottom: none;
}

.transaction-left {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}

.transaction-icon {
    flex-shrink: 0;

    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f0f5fb;

    color: #164f95;

    font-weight: 800;
}

.transaction-left strong {
    display: block;

    color: #1d2939;

    font-size: 13px;
}

.transaction-left span {
    display: block;

    margin-top: 5px;

    color: #98a2b3;

    font-size: 10px;
}

.transaction-amount strong {
    font-size: 13px;
}

.credit {
    color: #087a4b;
}

.debit {
    color: #b42318;
}

.empty-state {
    min-height: 220px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #7b8797;
}

.empty-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 14px;

    background: #f2f5f9;

    color: #64809e;

    font-size: 22px;
}

.empty-state h4 {
    color: #344054;

    margin-bottom: 6px;
}

.empty-state p {
    max-width: 240px;

    font-size: 12px;

    line-height: 1.6;
}


/* SECURITY PANEL */

.security-status {
    display: flex;

    gap: 13px;

    padding: 16px;

    background: #f5fbf8;

    border:
        1px solid #d8f2e4;

    border-radius: 12px;

    margin-bottom: 20px;
}

.security-status-icon {
    flex-shrink: 0;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dff7e9;

    color: #087a4b;

    font-weight: 800;
}

.security-status strong {
    color: #21543d;

    font-size: 12px;
}

.security-status p {
    margin-top: 5px;

    color: #658475;

    font-size: 10px;

    line-height: 1.5;
}

.security-list {
    border-top:
        1px solid #edf0f4;

    border-bottom:
        1px solid #edf0f4;
}

.security-list-row {
    min-height: 47px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    font-size: 11px;

    border-bottom:
        1px solid #edf0f4;
}

.security-list-row:last-child {
    border-bottom: none;
}

.security-list-row span {
    color: #667085;
}

.status-good {
    color: #087a4b;

    font-size: 10px;
}

.security-button {
    min-height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 20px;

    border-radius: 9px;

    background: #0b1f3a;

    color: white;

    font-size: 11px;
    font-weight: 700;
}


/* FOOTER */

.dashboard-footer {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    padding-top: 25px;

    color: #98a2b3;

    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .dashboard-grid,
    .dashboard-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {

    .dashboard-layout {
        display: block;
    }

    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 18px;
    }

    .sidebar-nav {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .sidebar-bottom {
        margin-top: 18px;
    }

    .dashboard-main {
        padding: 25px 18px;
    }

    .dashboard-header {
        align-items: flex-start;
    }

    .user-copy {
        display: none;
    }
}

@media (max-width: 600px) {

    .dashboard-header h1 {
        font-size: 25px;
    }

    .balance-card h2 {
        font-size: 36px;
    }

    .balance-card {
        padding: 22px;
    }

    .balance-card-middle {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .balance-actions {
        flex-direction: column;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-footer {
        flex-direction: column;
    }
}
/* ==========================================
   TRANSFER PAGE
========================================== */

.transfer-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 70px;
}

.transfer-header {
    margin-bottom: 30px;
}

.transfer-header h1 {
    color: #101828;
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.transfer-header p {
    color: #667085;
    font-size: 14px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #1769e0;
    font-size: 13px;
    font-weight: 700;
}

.transfer-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, 0.7fr);

    gap: 24px;
    align-items: start;
}

.transfer-card,
.transfer-summary-card {
    background: white;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(16,24,40,0.05);
}

.transfer-card {
    padding: 30px;
}

.transfer-summary-card {
    padding: 28px;
}

.transfer-card-heading {
    margin-bottom: 25px;
}

.transfer-card-heading h2 {
    color: #172033;
    font-size: 23px;
}

.optional-text {
    color: #98a2b3;
    font-weight: 400;
    font-size: 11px;
}

.money-input {
    position: relative;
}

.money-input span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #344054;
    font-weight: 700;
}

.money-input input {
    padding-left: 32px;
}

.transfer-summary-card h3 {
    color: #172033;
    font-size: 19px;
    margin-bottom: 25px;
}

.transfer-account-number,
.transfer-balance {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid #edf0f4;
}

.transfer-account-number span,
.transfer-balance span {
    color: #667085;
    font-size: 12px;
}

.transfer-account-number strong {
    color: #344054;
    font-size: 13px;
}

.transfer-balance strong {
    color: #101828;
    font-size: 20px;
}

.transfer-info {
    display: flex;
    gap: 12px;

    margin-top: 24px;

    padding: 16px;

    border-radius: 12px;

    background: #f5fbf8;
    border: 1px solid #d8f2e4;
}

.transfer-info strong {
    color: #21543d;
    font-size: 12px;
}

.transfer-info p {
    margin-top: 5px;
    color: #658475;
    font-size: 10px;
    line-height: 1.6;
}

@media (max-width: 850px) {

    .transfer-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .transfer-page {
        width: min(100% - 28px, 1180px);
        padding-top: 28px;
    }

    .transfer-card,
    .transfer-summary-card {
        padding: 22px;
    }

    .transfer-header h1 {
        font-size: 28px;
    }

}
/* ==========================================
   PREMIUM TRANSFER & PAY CENTER
========================================== */

.transfer-page {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 70px;
}

.transfer-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 28px;
}

.transfer-topbar h1 {
    font-size: 36px;
    color: #101828;
    letter-spacing: -1px;
    margin-bottom: 7px;
}

.transfer-subtitle {
    color: #667085;
    font-size: 14px;
}

.transfer-current-balance {
    text-align: right;
    padding: 18px 22px;
    border-radius: 14px;
    background: white;
    border: 1px solid #e7ecf2;
    min-width: 230px;
}

.transfer-current-balance span,
.transfer-current-balance small {
    display: block;
}

.transfer-current-balance span {
    color: #7d8999;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transfer-current-balance strong {
    display: block;
    margin: 5px 0;
    font-size: 24px;
    color: #101828;
}

.transfer-current-balance small {
    color: #7d8999;
    font-size: 10px;
}

.transfer-method-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    margin-bottom: 22px;
    background: #eaf0f7;
    border-radius: 13px;
}

.transfer-tab {
    flex: 1;
    min-height: 45px;
    padding: 0 18px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #667085;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.transfer-tab.active {
    background: white;
    color: #1769e0;
    box-shadow:
        0 3px 12px rgba(16,24,40,0.07);
}

.transfer-method-panel {
    display: none;
}

.transfer-method-panel.active {
    display: block;
}

.premium-transfer-card {
    max-width: 760px;
    margin: 0 auto;
}

.transfer-card-heading p {
    margin-top: 7px;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.premium-select {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    background: white;
    color: #101828;
    font-size: 14px;
}

.premium-select:focus {
    outline: none;
    border-color: #1769e0;
    box-shadow:
        0 0 0 4px rgba(23,105,224,0.10);
}

.form-group label small {
    margin-left: 5px;
    color: #98a2b3;
    font-weight: 400;
}

.simulation-notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid #dce8f8;
    border-radius: 10px;
    background: #f5f9ff;
}

.simulation-notice strong {
    display: block;
    color: #174f91;
    font-size: 12px;
}

.simulation-notice p {
    margin-top: 4px;
    color: #667c98;
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 700px) {

    .transfer-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .transfer-current-balance {
        text-align: left;
    }

    .transfer-method-tabs {
        flex-direction: column;
    }

    .transfer-tab {
        width: 100%;
    }

    .transfer-topbar h1 {
        font-size: 29px;
    }

}

@media (max-width: 500px) {

    .transfer-page {
        width: calc(100% - 26px);
        padding-top: 25px;
    }

}
/* ==========================================
   REVIEW TRANSFER PAGE
========================================== */

.review-page {
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 70px;
}

.review-header {
    margin-bottom: 30px;
}

.review-header h1 {
    color: #101828;
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.review-header p:last-child {
    color: #667085;
    font-size: 14px;
}

.review-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(280px, 0.65fr);

    gap: 24px;

    align-items: start;
}

.review-card,
.review-account-card {
    background: #ffffff;

    border: 1px solid #e7ecf2;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.05);
}

.review-card {
    padding: 30px;
}

.review-account-card {
    padding: 27px;
}

.review-title {
    margin-bottom: 22px;
}

.review-title h2 {
    color: #101828;
    font-size: 22px;
}

.review-row {
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-bottom:
        1px solid #edf0f4;
}

.review-row span {
    color: #667085;
    font-size: 12px;
}

.review-row strong {
    color: #1d2939;
    font-size: 13px;
    text-align: right;
}

.review-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 25px;

    padding: 20px;

    background: #f8fafc;

    border-radius: 12px;
}

.review-amount span {
    color: #667085;
    font-size: 12px;
}

.review-amount strong {
    color: #101828;
    font-size: 26px;
}

.review-total {
    display: flex;
    justify-content: space-between;

    padding: 18px 4px 25px;

    color: #344054;

    font-size: 13px;
}

.review-total strong {
    font-size: 16px;
}

.review-edit-button {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    border: 1px solid #dfe5ec;

    border-radius: 10px;

    color: #344054;

    font-size: 13px;
    font-weight: 700;
}

.review-account-card h3 {
    color: #101828;

    font-size: 19px;

    margin-bottom: 20px;
}

.review-account-row {
    padding: 16px 0;

    border-bottom:
        1px solid #edf0f4;
}

.review-account-row:last-child {
    border-bottom: none;
}

.review-account-row span {
    display: block;

    color: #7c8797;

    font-size: 10px;

    margin-bottom: 6px;
}

.review-account-row strong {
    color: #101828;

    font-size: 14px;
}

@media (max-width: 800px) {

    .review-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 550px) {

    .review-page {
        width: calc(100% - 26px);
        padding-top: 28px;
    }

    .review-card,
    .review-account-card {
        padding: 21px;
    }

    .review-header h1 {
        font-size: 29px;
    }

}
/* ==========================================
   TRANSFER RECEIPT
========================================== */

.receipt-page {
    width: min(680px, calc(100% - 30px));
    margin: 0 auto;
    padding: 55px 0 80px;
}

.receipt-card {
    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 22px;
    padding: 38px;

    box-shadow:
        0 20px 50px
        rgba(16, 24, 40, 0.08);

    text-align: center;
}

.receipt-status-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f8ef;
    color: #087a4b;

    font-size: 28px;
    font-weight: 800;
}

.receipt-status-icon.error {
    background: #fef3f2;
    color: #b42318;
}

.receipt-card h1 {
    color: #101828;

    font-size: 34px;

    letter-spacing: -1px;

    margin-bottom: 10px;
}

.receipt-message {
    color: #667085;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 28px;
}

.receipt-amount {
    padding: 24px;

    margin-bottom: 22px;

    border-radius: 14px;

    background: #f8fafc;
}

.receipt-amount span {
    display: block;

    color: #7c8797;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.receipt-amount strong {
    color: #101828;

    font-size: 34px;
}

.receipt-details {
    text-align: left;

    border-top:
        1px solid #edf0f4;
}

.receipt-row {
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid #edf0f4;
}

.receipt-row span {
    color: #667085;

    font-size: 12px;
}

.receipt-row strong {
    color: #1d2939;

    font-size: 12px;

    text-align: right;
}

.receipt-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 24px 0;

    padding: 18px;

    border-radius: 12px;

    background: #f5f9ff;

    border: 1px solid #dce8f8;
}

.receipt-balance span {
    color: #667085;

    font-size: 12px;
}

.receipt-balance strong {
    color: #101828;

    font-size: 18px;
}

.receipt-actions {
    display: grid;

    gap: 10px;
}

.receipt-error {
    max-width: 600px;

    margin: 0 auto;
}

@media (max-width: 550px) {

    .receipt-card {
        padding: 25px 20px;
    }

    .receipt-card h1 {
        font-size: 28px;
    }

    .receipt-amount strong {
        font-size: 29px;
    }

}
/* ==========================================
   TRANSACTIONS PAGE
========================================== */

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    margin-bottom: 28px;
}

.transactions-header h1 {
    color: #101828;

    font-size: 34px;

    letter-spacing: -1px;

    margin-bottom: 7px;
}

.transactions-header > div:first-child > p:last-child {
    color: #667085;

    font-size: 13px;
}


/* SUMMARY */

.transaction-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 22px;
}

.transaction-summary-card {
    padding: 22px;

    background: white;

    border: 1px solid #e7ecf2;

    border-radius: 16px;

    box-shadow:
        0 8px 25px
        rgba(16, 24, 40, 0.04);
}

.transaction-summary-card > span {
    display: block;

    color: #7c8797;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 9px;
}

.transaction-summary-card > strong {
    display: block;

    color: #101828;

    font-size: 25px;

    margin-bottom: 7px;
}

.transaction-summary-card > strong.credit {
    color: #087a4b;
}

.transaction-summary-card > strong.debit {
    color: #b42318;
}

.transaction-summary-card small {
    color: #98a2b3;

    font-size: 10px;
}


/* MAIN PANEL */

.transactions-panel {
    background: white;

    border: 1px solid #e7ecf2;

    border-radius: 18px;

    box-shadow:
        0 10px 30px
        rgba(16, 24, 40, 0.04);

    overflow: hidden;
}

.transactions-panel-header {
    padding: 24px 26px;

    border-bottom:
        1px solid #edf0f4;
}

.transactions-panel-header h2 {
    color: #101828;

    font-size: 20px;
}


/* TABLE */

.transaction-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.transaction-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 820px;
}

.transaction-table th {
    padding: 13px 22px;

    text-align: left;

    color: #7c8797;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    background: #f8fafc;

    border-bottom:
        1px solid #edf0f4;
}

.transaction-table td {
    padding: 18px 22px;

    border-bottom:
        1px solid #edf0f4;

    vertical-align: middle;

    color: #344054;

    font-size: 12px;
}

.transaction-table tbody tr:last-child td {
    border-bottom: none;
}

.transaction-table tbody tr:hover {
    background: #fbfcfe;
}

.amount-column {
    text-align: right !important;
}


/* TRANSACTION NAME */

.table-transaction-name {
    display: flex;

    align-items: center;

    gap: 12px;
}

.table-transaction-icon {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 18px;

    font-weight: 800;
}

.table-transaction-icon.incoming {
    background: #eaf8f0;

    color: #087a4b;
}

.table-transaction-icon.outgoing {
    background: #fef1f0;

    color: #b42318;
}

.table-transaction-name strong {
    display: block;

    color: #1d2939;

    font-size: 12px;

    margin-bottom: 4px;
}

.table-transaction-name span {
    color: #98a2b3;

    font-size: 9px;
}


/* DATE */

.table-date {
    display: block;

    color: #344054;

    font-size: 11px;

    margin-bottom: 3px;
}

.table-time {
    color: #98a2b3;

    font-size: 9px;
}


/* BADGES */

.transaction-type-badge {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 999px;

    background: #f2f4f7;

    color: #475467;

    font-size: 9px;

    font-weight: 700;
}

.completed-badge {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 999px;

    background: #eaf8f0;

    color: #087a4b;

    font-size: 9px;

    font-weight: 700;
}


/* EMPTY */

.transactions-empty {
    min-height: 320px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px;
}

.transactions-empty h3 {
    color: #344054;

    margin-bottom: 7px;
}

.transactions-empty p {
    max-width: 260px;

    color: #98a2b3;

    font-size: 11px;

    line-height: 1.6;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .transaction-summary-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .transactions-header {
        align-items: flex-start;
    }

    .transactions-header h1 {
        font-size: 28px;
    }

}
/* ==========================================
   CARDS PAGE
========================================== */

.cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.cards-header h1 {
    color: #101828;
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 7px;
}

.cards-header > div:first-child > p:last-child {
    color: #667085;
    font-size: 13px;
}


/* MAIN CARD LAYOUT */

.cards-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, 0.75fr);

    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.bank-card-wrapper {
    min-width: 0;
}


/* PHYSICAL CARD */

.physical-bank-card {
    min-height: 320px;
    padding: 30px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(58, 137, 255, 0.35),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #06182d 0%,
            #0a2850 55%,
            #071b33 100%
        );

    color: white;

    box-shadow:
        0 22px 50px rgba(7, 27, 51, 0.20);

    position: relative;
    overflow: hidden;
}

.physical-bank-card::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);

    right: -130px;
    bottom: -190px;
}

.physical-card-top,
.physical-card-bottom {
    position: relative;
    z-index: 2;
}

.physical-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.physical-card-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.physical-card-brand strong {
    font-size: 18px;
}

.debit-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #9ebce2;
}

.card-chip {
    position: relative;
    z-index: 2;

    width: 52px;
    height: 40px;

    margin-top: 48px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #d7c38c,
        #f2e3ad
    );

    color: #6b5b2c;
    font-size: 23px;
}

.card-number {
    position: relative;
    z-index: 2;

    margin-top: 28px;

    font-size: 23px;
    letter-spacing: 2px;
    font-weight: 600;
}

.physical-card-bottom {
    display: grid;
    grid-template-columns:
        1fr
        auto
        auto;

    gap: 30px;
    align-items: end;

    margin-top: 42px;
}

.physical-card-bottom span {
    display: block;

    color: #8fa7c3;

    font-size: 9px;
    letter-spacing: 1px;

    margin-bottom: 5px;
}

.physical-card-bottom strong {
    font-size: 11px;
    letter-spacing: 0.5px;
}

.card-network {
    font-size: 19px;
    font-weight: 800;
    font-style: italic;
}


/* LINKED BALANCE */

.card-balance-strip {
    display: flex;
    justify-content: space-between;
    gap: 25px;

    margin-top: 16px;
    padding: 20px 22px;

    background: white;

    border: 1px solid #e7ecf2;
    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(16,24,40,0.04);
}

.card-balance-strip span {
    display: block;

    color: #7c8797;

    font-size: 10px;

    margin-bottom: 6px;
}

.card-balance-strip strong {
    color: #101828;

    font-size: 14px;
}


/* CARD CONTROLS */

.card-controls-panel {
    background: white;

    border: 1px solid #e7ecf2;
    border-radius: 18px;

    padding: 24px;

    box-shadow:
        0 10px 30px rgba(16,24,40,0.04);
}

.card-status-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px;

    margin-bottom: 18px;

    background: #f5fbf8;

    border: 1px solid #d8f2e4;
    border-radius: 12px;
}

.card-status-box span {
    display: block;

    color: #658475;

    font-size: 10px;

    margin-bottom: 5px;
}

.card-status-box strong {
    color: #21543d;

    font-size: 13px;
}

.status-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #16a366;

    box-shadow:
        0 0 0 4px rgba(22,163,102,0.12);
}

.card-control-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-control-row {
    width: 100%;
    min-height: 72px;

    display: grid;
    grid-template-columns:
        42px
        1fr
        auto;

    align-items: center;
    gap: 12px;

    padding: 13px 14px;

    border: 1px solid #edf0f4;
    border-radius: 12px;

    background: #fbfcfe;

    text-align: left;

    cursor: pointer;

    transition: 0.2s;
}

.card-control-row:hover {
    border-color: #cfdcf0;
    transform: translateY(-1px);
}

.control-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #edf4ff;

    font-size: 16px;
}

.card-control-row strong {
    display: block;

    color: #1d2939;

    font-size: 12px;

    margin-bottom: 4px;
}

.card-control-row small {
    color: #8b96a7;
    font-size: 10px;
}

.control-arrow {
    color: #98a2b3;
    font-size: 23px;
}


/* LOWER INFORMATION */

.card-info-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.card-info-grid .dashboard-panel h3 {
    color: #172033;
    font-size: 18px;
    margin-bottom: 18px;
}

.card-info-row {
    min-height: 53px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border-bottom:
        1px solid #edf0f4;
}

.card-info-row:last-child {
    border-bottom: none;
}

.card-info-row span {
    color: #667085;
    font-size: 11px;
}

.card-info-row strong {
    color: #1d2939;
    font-size: 11px;
    text-align: right;
}


/* SPENDING OVERVIEW */

.spending-overview > div {
    padding: 15px 0;

    border-bottom:
        1px solid #edf0f4;
}

.spending-overview > div:last-child {
    border-bottom: none;
}

.spending-overview span {
    display: block;

    color: #667085;

    font-size: 10px;

    margin-bottom: 5px;
}

.spending-overview strong {
    color: #101828;

    font-size: 16px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .cards-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 800px) {

    .card-info-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .cards-header {
        align-items: flex-start;
    }

    .cards-header h1 {
        font-size: 28px;
    }

    .physical-bank-card {
        min-height: 285px;
        padding: 22px;
    }

    .card-number {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .physical-card-bottom {
        gap: 14px;
    }

    .card-balance-strip {
        flex-direction: column;
    }

}
/* CARD LOCKED STATE */

.card-locked {
    filter: grayscale(0.35);
    opacity: 0.82;
}

.locked-status {
    background: #fef3f2;
    border-color: #fecdca;
}

.locked-status strong {
    color: #b42318;
}

.locked-dot {
    background: #d92d20;
    box-shadow:
        0 0 0 4px rgba(217,45,32,0.12);
}

.card-control-list form {
    margin: 0;
}

.card-control-list form .card-control-row {
    width: 100%;
}
/* ==========================================
   VIEW CARD DETAILS MODAL
========================================== */

.modal-open {
    overflow: hidden;
}

.card-details-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 22px;
}

.card-details-modal.open {
    display: flex;
}

.card-details-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(5, 14, 28, 0.68);

    backdrop-filter: blur(5px);
}

.card-details-dialog {
    position: relative;
    z-index: 2;

    width: min(520px, 100%);

    max-height: calc(100vh - 44px);
    overflow-y: auto;

    padding: 28px;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.25);
}

.card-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.card-details-header h2 {
    color: #101828;

    font-size: 22px;
}

.modal-close {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 10px;

    background: #f2f4f7;

    color: #344054;

    font-size: 24px;

    cursor: pointer;
}

.details-card-preview {
    padding: 24px;

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(65, 142, 255, 0.35),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #06182d,
            #0a2a50
        );

    color: white;

    margin-bottom: 22px;
}

.details-preview-top {
    display: flex;
    justify-content: space-between;

    font-size: 14px;
}

.details-preview-number {
    margin: 42px 0 34px;

    font-size: 21px;
    font-weight: 600;

    letter-spacing: 1.7px;
}

.details-preview-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;
}

.details-preview-bottom span {
    display: block;

    color: #8fa7c3;

    font-size: 8px;

    letter-spacing: 1px;

    margin-bottom: 5px;
}

.details-preview-bottom strong {
    font-size: 10px;
}

.card-detail-list {
    border-top:
        1px solid #edf0f4;

    margin-bottom: 22px;
}

.card-detail-row {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid #edf0f4;
}

.card-detail-row span {
    color: #667085;

    font-size: 11px;
}

.card-detail-row strong {
    color: #1d2939;

    font-size: 11px;

    text-align: right;
}

.card-detail-active {
    color: #087a4b !important;
}

.card-detail-locked {
    color: #b42318 !important;
}

.card-modal-secondary {
    width: 100%;
    min-height: 50px;

    margin-top: 10px;

    border: 1px solid #dfe5ec;
    border-radius: 10px;

    background: white;

    color: #344054;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

@media (max-width: 550px) {

    .card-details-dialog {
        padding: 20px;
    }

    .details-preview-number {
        font-size: 16px;
        letter-spacing: 1px;
    }
}
/* ==========================================
   CARD SETTINGS
========================================== */

.settings-card-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px;

    margin-bottom: 24px;

    background: #f8fafc;

    border: 1px solid #e7ecf2;

    border-radius: 12px;
}

.settings-card-summary span {
    display: block;

    color: #7c8797;

    font-size: 10px;

    margin-bottom: 5px;
}

.settings-card-summary strong {
    color: #1d2939;

    font-size: 12px;
}

.card-settings-form {
    margin-top: 5px;
}

.settings-information {
    display: flex;

    gap: 12px;

    padding: 15px;

    margin-bottom: 22px;

    border-radius: 11px;

    background: #f5f9ff;

    border: 1px solid #dce8f8;
}

.settings-info-icon {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5f0ff;

    color: #1769e0;

    font-size: 12px;

    font-weight: 800;
}

.settings-information strong {
    color: #174f91;

    font-size: 11px;
}

.settings-information p {
    color: #667c98;

    font-size: 10px;

    line-height: 1.6;

    margin-top: 4px;
}

@media (max-width: 500px) {

    .settings-card-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* ==========================================
   PROFILES PAGE
========================================== */

.profiles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.profiles-header h1 {
    color: #101828;
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 7px;
}

.profiles-header > div:first-child > p:last-child {
    color: #667085;
    font-size: 13px;
}


/* MAIN LAYOUT */

.profiles-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 24px;
    align-items: start;
}


/* FORM CARD */

.profile-form-card,
.saved-profiles-card {
    background: white;
    border: 1px solid #e7ecf2;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(16,24,40,0.04);
}

.profile-form-card {
    padding: 28px;
}

.profile-card-heading {
    margin-bottom: 25px;
}

.profile-card-heading h2 {
    color: #101828;
    font-size: 22px;
    margin-bottom: 7px;
}

.profile-card-heading p {
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}


/* SAVED PROFILES */

.saved-profiles-card {
    padding: 26px;
}

.saved-profiles-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 20px;
}

.saved-profiles-heading h2 {
    color: #101828;
    font-size: 22px;
}

.profile-count {
    min-width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #edf4ff;
    color: #1769e0;

    font-size: 12px;
    font-weight: 800;
}


/* PROFILE LIST */

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-item {
    display: grid;
    grid-template-columns:
        48px
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 14px;

    padding: 16px;

    border: 1px solid #edf0f4;
    border-radius: 13px;

    background: #fbfcfe;

    transition: 0.2s;
}

.profile-item:hover {
    border-color: #d6e0ec;
    transform: translateY(-1px);
}

.profile-avatar {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0b1f3a;

    color: white;

    font-size: 16px;
    font-weight: 800;
}

.profile-main-info {
    min-width: 0;
}

.profile-main-info strong {
    display: block;

    color: #1d2939;

    font-size: 13px;

    margin-bottom: 4px;
}

.profile-main-info span {
    display: block;

    color: #667085;

    font-size: 11px;

    margin-bottom: 4px;
}

.profile-main-info small {
    color: #98a2b3;
    font-size: 10px;
}


/* PROFILE ACTIONS */

.profile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-send-button,
.profile-delete-button {
    min-height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.profile-send-button {
    background: #1769e0;
    color: white;
}

.profile-delete-button {
    border: 1px solid #f0d0cc;
    background: #fff7f6;
    color: #b42318;
}


/* EMPTY STATE */

.profiles-empty {
    min-height: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px;
}

.profiles-empty h3 {
    color: #344054;
    margin-bottom: 7px;
}

.profiles-empty p {
    color: #98a2b3;
    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .profiles-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .profiles-header {
        align-items: flex-start;
    }

    .profiles-header h1 {
        font-size: 28px;
    }

    .profile-item {
        grid-template-columns:
            44px
            minmax(0, 1fr);
    }

    .profile-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}
/* ==========================================
   STATEMENTS PAGE
========================================== */

.statements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.statements-header h1 {
    color: #101828;
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 7px;
}

.statements-header > div:first-child > p:last-child {
    color: #667085;
    font-size: 13px;
}


/* SUMMARY */

.statement-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.statement-summary-card {
    padding: 22px;
    background: white;
    border: 1px solid #e7ecf2;
    border-radius: 16px;
    box-shadow:
        0 8px 25px rgba(16,24,40,0.04);
}

.statement-summary-card span {
    display: block;
    color: #7c8797;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.statement-summary-card strong {
    color: #101828;
    font-size: 18px;
}


/* MAIN PANEL */

.statements-panel {
    background: white;
    border: 1px solid #e7ecf2;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(16,24,40,0.04);
    overflow: hidden;
}

.statements-panel-header {
    padding: 24px 26px;
    border-bottom: 1px solid #edf0f4;
}

.statements-panel-header h2 {
    color: #101828;
    font-size: 20px;
}


/* STATEMENT LIST */

.statement-list {
    display: flex;
    flex-direction: column;
}

.statement-row {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 16px 24px;

    border-bottom:
        1px solid #edf0f4;
}

.statement-row:last-child {
    border-bottom: none;
}

.statement-row:hover {
    background: #fbfcfe;
}

.statement-row-left {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.statement-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 18px;
    font-weight: 800;
}

.statement-icon.incoming {
    background: #eaf8f0;
    color: #087a4b;
}

.statement-icon.outgoing {
    background: #fef1f0;
    color: #b42318;
}

.statement-row-left strong {
    display: block;
    color: #1d2939;
    font-size: 12px;
    margin-bottom: 5px;
}

.statement-row-left span {
    color: #98a2b3;
    font-size: 10px;
}

.statement-row-right strong {
    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .statement-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .statements-header {
        align-items: flex-start;
    }

    .statements-header h1 {
        font-size: 28px;
    }

    .statement-row {
        align-items: flex-start;
    }
}
/* ==========================================
   STATEMENT CONTROLS
========================================== */

.statement-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 16px;

    padding: 20px 22px;
    margin-bottom: 20px;

    box-shadow:
        0 8px 25px rgba(16, 24, 40, 0.04);
}

.statement-controls h2 {
    margin-top: 5px;
    color: #101828;
    font-size: 20px;
}

.statement-control-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.statement-month-form {
    margin: 0;
}

.statement-month-form .premium-select {
    min-width: 170px;
}

.statement-print-button {
    border: none;
    background: #0f69d8;
    color: #ffffff;

    padding: 12px 17px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.statement-print-button:hover {
    background: #0b5fc7;

    transform:
        translateY(-1px);

    box-shadow:
        0 7px 18px rgba(15, 105, 216, 0.2);
}


/* ==========================================
   PRINTABLE STATEMENT
========================================== */

@media print {

    body {
        background: #ffffff !important;
    }

    .sidebar,
    .dashboard-user,
    .statement-control-actions {
        display: none !important;
    }

    .dashboard-layout {
        display: block !important;
    }

    .dashboard-main {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
    }

    .statements-header,
    .statement-controls,
    .statement-summary-card,
    .statements-panel {
        box-shadow: none !important;
    }

    .statement-controls {
        border: none;
        padding-left: 0;
        padding-right: 0;
    }

    .statement-row {
        break-inside: avoid;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .statement-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .statement-control-actions {
        width: 100%;
        flex-direction: column;
    }

    .statement-month-form,
    .statement-month-form .premium-select,
    .statement-print-button {
        width: 100%;
    }
}
/* ==========================================
   PROFILE PHOTO UPLOAD
========================================== */

.profile-photo-upload-area {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;
}

.profile-upload-preview,
.profile-upload-placeholder {
    width: 120px;
    height: 120px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid #ffffff;

    box-shadow:
        0 6px 22px rgba(16, 24, 40, 0.14);
}

.profile-upload-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f69d8;
    color: #ffffff;

    font-size: 38px;
    font-weight: 800;
}

.profile-large-photo {
    object-fit: cover;
}

.user-avatar-photo {
    object-fit: cover;
    padding: 0;
}

input[type="file"] {
    width: 100%;
    padding: 11px;

    border: 1px solid #d9e0e8;
    border-radius: 10px;

    background: #ffffff;
    color: #344054;

    font-size: 12px;
}

input[type="file"]::file-selector-button {
    border: none;
    border-radius: 7px;

    padding: 8px 12px;
    margin-right: 10px;

    background: #eef5ff;
    color: #0f69d8;

    font-weight: 700;
    cursor: pointer;
}
/* ==========================================
   PROFILE & SETTINGS — LAYOUT FIX
========================================== */

.profile-settings-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 30px !important;
    margin-bottom: 28px !important;
}

.profile-settings-header > div:first-child {
    flex: 1;
}

.profile-settings-header h1 {
    margin: 4px 0 8px !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
}


/* ==========================================
   CUSTOMER SUMMARY
========================================== */

.profile-account-summary {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 35px !important;

    padding: 26px 28px !important;
    margin-bottom: 24px !important;

    background: #ffffff !important;
    border: 1px solid #e7ecf2 !important;
    border-radius: 18px !important;

    box-sizing: border-box !important;
}

.profile-summary-main {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;

    min-width: 280px;
}

.profile-summary-main > div:last-child {
    display: flex;
    flex-direction: column;
}

.profile-summary-main h2 {
    margin: 5px 0 4px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
}

.profile-summary-main p {
    margin: 0 !important;
}

.profile-large-avatar,
.profile-large-photo {
    width: 68px !important;
    height: 68px !important;

    min-width: 68px !important;

    border-radius: 50% !important;

    object-fit: cover !important;
}

.profile-summary-details {
    flex: 1;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(120px, 1fr)) !important;

    gap: 22px !important;
}

.profile-summary-details > div {
    padding: 14px 16px;

    background: #f8fafc;

    border: 1px solid #edf1f5;
    border-radius: 12px;
}

.profile-summary-details span {
    display: block !important;

    margin-bottom: 6px !important;

    font-size: 10px !important;
}

.profile-summary-details strong {
    display: block !important;

    font-size: 13px !important;

    white-space: nowrap;
}


/* ==========================================
   SETTINGS GRID
========================================== */

.profile-settings-grid {
    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 22px !important;

    align-items: start !important;
}


/* Each card stays controlled */

.profile-settings-card {
    width: 100% !important;

    padding: 26px !important;

    background: #ffffff !important;

    border: 1px solid #e7ecf2 !important;
    border-radius: 18px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* Password card across full width */

.profile-settings-grid
.profile-settings-card:nth-child(3) {
    grid-column: 1 / -1 !important;
}


/* ==========================================
   PROFILE PHOTO CARD
========================================== */

.profile-photo-upload-area {
    width: 100% !important;

    min-height: 170px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 8px 0 22px !important;

    padding: 20px !important;

    background: #f8fafc !important;

    border: 1px dashed #cfd8e3 !important;
    border-radius: 14px !important;

    box-sizing: border-box !important;
}

.profile-upload-preview,
.profile-upload-placeholder {
    width: 115px !important;
    height: 115px !important;

    min-width: 115px !important;

    border-radius: 50% !important;

    object-fit: cover !important;

    margin: 0 !important;
}

.profile-upload-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #0f69d8 !important;
    color: #ffffff !important;

    font-size: 38px !important;
    font-weight: 800 !important;
}


/* ==========================================
   FORM FIX
========================================== */

.profile-settings-card .premium-form {
    width: 100% !important;
}

.profile-settings-card .form-group {
    width: 100% !important;
}

.profile-settings-card input,
.profile-settings-card select {
    width: 100% !important;

    box-sizing: border-box !important;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1050px) {

    .profile-account-summary {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .profile-summary-details {
        width: 100% !important;
    }
}


@media (max-width: 850px) {

    .profile-settings-grid {
        grid-template-columns: 1fr !important;
    }

    .profile-settings-grid
    .profile-settings-card:nth-child(3) {
        grid-column: auto !important;
    }

    .profile-summary-details {
        grid-template-columns: 1fr !important;
    }
}


@media (max-width: 600px) {

    .profile-settings-header {
        flex-direction: column !important;
    }

    .profile-settings-header h1 {
        font-size: 28px !important;
    }

    .profile-account-summary {
        padding: 20px !important;
    }

    .profile-summary-main {
        min-width: 0 !important;
    }
}
/* ==========================================
   TRANSACTION DETAILS
========================================== */

.transaction-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 24px;
}

.transaction-details-header h1 {
    color: #101828;
    font-size: 34px;
    margin: 6px 0 7px;
}

.transaction-details-header > div:first-child > p:last-child {
    color: #667085;
    font-size: 13px;
}

.transaction-details-card {
    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 18px;
    padding: 28px;
    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.04);
}

.transaction-details-status-row {
    display: flex;
    align-items: center;
    gap: 18px;

    padding-bottom: 24px;
    margin-bottom: 24px;

    border-bottom: 1px solid #edf0f4;
}

.transaction-details-icon {
    width: 54px;
    height: 54px;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: 800;

    flex-shrink: 0;
}

.transaction-details-icon.incoming {
    background: #eaf8f0;
    color: #087a4b;
}

.transaction-details-icon.outgoing {
    background: #fef1f0;
    color: #b42318;
}

.transaction-details-status-row h2 {
    color: #101828;
    font-size: 21px;
    margin-top: 4px;
}

.transaction-details-amount {
    margin-left: auto;
}

.transaction-details-amount strong {
    font-size: 24px;
}

.transaction-details-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.transaction-details-grid > div {
    background: #f8fafc;
    border: 1px solid #edf1f5;
    border-radius: 12px;
    padding: 16px;
}

.transaction-details-grid span {
    display: block;
    color: #98a2b3;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}

.transaction-details-grid strong {
    color: #1d2939;
    font-size: 13px;
}

.transaction-details-wide {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {

    .transaction-details-status-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .transaction-details-amount {
        width: 100%;
        margin-left: 72px;
    }

    .transaction-details-grid {
        grid-template-columns: 1fr;
    }

    .transaction-details-wide {
        grid-column: auto;
    }
}
.transaction-clickable-row {
    cursor: pointer;
}

.transaction-clickable-row:hover {
    background: #f8fafc;
}
/* ==========================================
   PROFESSIONAL TRANSACTION DETAILS PAGE
========================================== */

.transaction-details-page {
    padding-bottom: 45px;
}


/* HEADER */

.transaction-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 26px;
}

.transaction-details-header h1 {
    color: #101828;

    font-size: 34px;
    line-height: 1.15;

    margin: 5px 0 7px;
}

.transaction-details-header > div:first-child > p:last-child {
    color: #667085;
    font-size: 13px;
}

.transaction-back-link {
    display: inline-block;

    margin-bottom: 16px;

    color: #0f69d8;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.transaction-back-link:hover {
    text-decoration: underline;
}


/* ==========================================
   HERO / RECEIPT CARD
========================================== */

.transaction-receipt-card {
    background: #ffffff;

    border: 1px solid #e6ebf2;
    border-radius: 20px;

    padding: 30px;

    margin-bottom: 22px;

    box-shadow:
        0 14px 40px rgba(16, 24, 40, 0.055);
}

.transaction-receipt-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 27px;

    border-bottom: 1px solid #edf1f5;
}

.transaction-receipt-main {
    display: flex;
    align-items: center;

    gap: 18px;

    min-width: 0;
}

.transaction-receipt-icon {
    width: 62px;
    height: 62px;

    min-width: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    font-size: 25px;
    font-weight: 800;
}

.transaction-receipt-icon.incoming {
    background: #eaf8f0;
    color: #087a4b;
}

.transaction-receipt-icon.outgoing {
    background: #fef1f0;
    color: #b42318;
}

.transaction-direction-label {
    display: block;

    color: #98a2b3;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;

    margin-bottom: 6px;
}

.transaction-receipt-main h2 {
    color: #101828;

    font-size: 22px;
    line-height: 1.35;

    margin: 0 0 7px;
}

.transaction-reference {
    color: #667085;

    font-size: 11px;
}


/* AMOUNT */

.transaction-receipt-amount {
    text-align: right;

    min-width: 180px;
}

.transaction-receipt-amount > span {
    display: block;

    color: #98a2b3;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 6px;
}

.transaction-receipt-amount > strong {
    display: block;

    font-size: 27px;

    margin-bottom: 9px;
}

.transaction-completed-badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 30px;

    background: #ecfdf3;
    color: #067647;

    font-size: 10px;
    font-weight: 800;
}

.transaction-completed-badge span {
    font-size: 11px;
}


/* ==========================================
   PRIMARY INFORMATION
========================================== */

.transaction-primary-details {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    padding-top: 25px;
}

.transaction-primary-item {
    padding: 15px 16px;

    background: #f8fafc;

    border: 1px solid #edf1f5;
    border-radius: 12px;
}

.transaction-primary-item span {
    display: block;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    margin-bottom: 6px;
}

.transaction-primary-item strong {
    color: #1d2939;

    font-size: 12px;
}


/* ==========================================
   INFORMATION GRID
========================================== */

.transaction-information-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    margin-bottom: 22px;
}

.transaction-information-card,
.transaction-description-card,
.transaction-timeline-card {
    background: #ffffff;

    border: 1px solid #e6ebf2;
    border-radius: 18px;

    padding: 25px;

    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.04);
}

.transaction-description-card,
.transaction-timeline-card {
    margin-bottom: 22px;
}

.transaction-section-heading {
    padding-bottom: 17px;

    margin-bottom: 6px;

    border-bottom: 1px solid #edf1f5;
}

.transaction-section-heading h3 {
    color: #101828;

    font-size: 18px;

    margin-top: 5px;
}


/* INFORMATION ROWS */

.transaction-info-list {
    display: flex;
    flex-direction: column;
}

.transaction-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #f0f2f5;
}

.transaction-info-row:last-child {
    border-bottom: none;
}

.transaction-info-row span {
    color: #667085;

    font-size: 11px;
}

.transaction-info-row strong {
    color: #1d2939;

    font-size: 11px;

    text-align: right;
}


/* ==========================================
   DESCRIPTION
========================================== */

.transaction-description-box {
    margin-top: 18px;

    padding: 18px;

    background: #f8fafc;

    border: 1px solid #edf1f5;
    border-radius: 12px;

    color: #344054;

    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================
   TRANSACTION TIMELINE
========================================== */

.transaction-timeline {
    padding-top: 18px;
}

.transaction-timeline-item {
    display: flex;
    align-items: center;

    gap: 13px;
}

.timeline-marker {
    width: 34px;
    height: 34px;

    min-width: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;
}

.transaction-timeline-item.completed
.timeline-marker {
    background: #ecfdf3;
    color: #067647;
}

.transaction-timeline-item strong {
    display: block;

    color: #1d2939;

    font-size: 12px;

    margin-bottom: 3px;
}

.transaction-timeline-item span {
    color: #98a2b3;

    font-size: 10px;
}

.timeline-line {
    width: 2px;
    height: 25px;

    margin-left: 16px;

    background: #dfe5ec;
}


/* ==========================================
   ACTIONS
========================================== */

.transaction-detail-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 12px;

    margin-top: 5px;
}

.transaction-secondary-button,
.transaction-print-button {
    padding: 12px 18px;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    text-decoration: none;
}

.transaction-secondary-button {
    background: #ffffff;

    color: #344054;

    border: 1px solid #d9e0e8;
}

.transaction-secondary-button:hover {
    background: #f8fafc;
}

.transaction-print-button {
    border: none;

    background: #0f69d8;
    color: #ffffff;
}

.transaction-print-button:hover {
    background: #0b5fc7;
}


/* ==========================================
   PRINT VIEW
========================================== */

@media print {

    body {
        background: #ffffff !important;
    }

    .sidebar,
    .dashboard-user,
    .transaction-back-link,
    .transaction-detail-actions {
        display: none !important;
    }

    .dashboard-layout {
        display: block !important;
    }

    .dashboard-main {
        width: 100% !important;

        margin: 0 !important;
        padding: 15px !important;
    }

    .transaction-details-header,
    .transaction-receipt-card,
    .transaction-information-card,
    .transaction-description-card,
    .transaction-timeline-card {
        box-shadow: none !important;
    }

    .transaction-information-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 950px) {

    .transaction-primary-details {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .transaction-information-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .transaction-details-header {
        flex-direction: column;
    }

    .transaction-details-header h1 {
        font-size: 29px;
    }

    .transaction-receipt-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .transaction-receipt-amount {
        width: 100%;

        text-align: left;

        padding-left: 80px;
    }

    .transaction-primary-details {
        grid-template-columns: 1fr;
    }

    .transaction-info-row {
        align-items: flex-start;
    }

    .transaction-detail-actions {
        flex-direction: column-reverse;
    }

    .transaction-secondary-button,
    .transaction-print-button {
        width: 100%;

        box-sizing: border-box;

        text-align: center;
    }
}
/* TRANSACTION DETAILS — FINAL SPACING */

.transaction-description-card,
.transaction-timeline-card {
    min-height: 0 !important;
    height: auto !important;
}

.transaction-description-box {
    min-height: 0 !important;
}

.transaction-timeline {
    min-height: 0 !important;
    padding-bottom: 5px !important;
}

.transaction-information-card {
    height: auto !important;
}

.transaction-information-grid {
    align-items: start !important;
}
.statement-row-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.statement-row-link:hover {
    background: #fbfcfe;
}
.show-account-number-button {
    margin-top: 7px;

    border: none;
    background: transparent;

    color: #0f69d8;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    padding: 0;
}

.show-account-number-button:hover {
    text-decoration: underline;
}

.account-number-display {
    display: block;
}
/* ==========================================
   PROFILE ACCOUNT NUMBER EYE CONTROL
========================================== */

.profile-account-number-line {
    display: flex;
    align-items: center;
    gap: 7px;
}

.profile-account-number-line strong {
    min-width: 0;
}

.profile-full-account-number {
    display: none !important;
}

.profile-full-account-number.profile-account-number-visible {
    display: inline !important;
}

.profile-account-eye-button {
    width: 27px;
    height: 27px;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 7px;

    background: transparent;
    color: #667085;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.profile-account-eye-button:hover {
    background: #eef5ff;
    color: #0f69d8;
}

.profile-account-eye-button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-eye-hidden {
    display: none !important;
}
/* ==========================================
   PROFILE ADDRESS SECTION
========================================== */

.profile-form-divider {
    margin: 24px 0 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #667085;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-form-divider::before,
.profile-form-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #e8edf3;
}
/* ==========================================
   SAVED PROFILE ADDRESS
========================================== */

.profile-saved-address {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    margin-top: 8px;

    max-width: 420px;

    color: #667085;

    font-size: 11px;
    line-height: 1.6;
}

.profile-address-icon {
    flex-shrink: 0;

    color: #0f69d8;

    font-size: 13px;
    font-weight: 700;
}
/* PROFILE ACCOUNT NUMBER + EYE FINAL FIX */

#profileAccountNumberControl {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
}

#profileAccountNumberControl strong {
    display: inline-block !important;
    min-width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

#profileMaskedAccountNumber,
#profileFullAccountNumber {
    white-space: nowrap !important;
}

#profileAccountEyeButton {
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
}
/* FINAL PROFILE ACCOUNT CARD FIX */

.profile-summary-details {
    grid-template-columns: 1.25fr 1fr 1fr !important;
}

.profile-summary-details > div:first-child {
    min-width: 210px !important;
}

#profileAccountNumberControl {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    gap: 8px !important;
}

#profileAccountNumberControl strong {
    flex: 1 !important;
    min-width: 0 !important;

    white-space: nowrap !important;
}

#profileAccountEyeButton {
    position: static !important;

    flex: 0 0 28px !important;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;

    transform: none !important;
}
/* FINAL PROFILE ACCOUNT + EYE POSITION */

.profile-summary-details > div:first-child {
    min-width: 230px !important;
}

#profileAccountNumberControl {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: 100% !important;

    gap: 2px !important;
}

#profileAccountNumberControl strong {
    display: inline-block !important;
    flex: 0 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

#profileAccountEyeButton {
    position: static !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 24px !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 0 0 2px !important;
    padding: 0 !important;

    transform: none !important;
}
/* =====================================================
   MOBILE RESPONSIVE FIXES
===================================================== */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .dashboard-shell,
    .dashboard-layout,
    .main-layout {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .sidebar {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        position: static !important;
        padding: 20px !important;
    }

    .sidebar nav,
    .sidebar-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .sidebar a,
    .sidebar-nav a {
        padding: 12px !important;
        font-size: 14px !important;
    }

    .dashboard-main,
    .dashboard-content,
    main {
        width: 100% !important;
        margin: 0 !important;
        padding: 22px 16px 40px !important;
        min-width: 0 !important;
    }

    .dashboard-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    .dashboard-header h1 {
        font-size: 34px !important;
        line-height: 1.1 !important;
    }

    .balance-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 28px 22px !important;
        border-radius: 24px !important;
    }

    .balance-card h2,
    .balance-amount {
        font-size: 42px !important;
        line-height: 1.05 !important;
        word-break: break-word !important;
    }

    .balance-card-middle,
    .balance-card-details,
    .account-details-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .dashboard-account-number-control {
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    .dashboard-routing-number {
        margin-top: 10px !important;
    }

    .dashboard-routing-number strong {
        font-size: 20px !important;
        word-break: break-word !important;
    }

    .quick-actions,
    .quick-action-grid,
    .services-grid,
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .recent-transactions,
    .security-center,
    .dashboard-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }

    table {
        min-width: 650px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {

    .sidebar nav,
    .sidebar-nav {
        grid-template-columns: 1fr 1fr !important;
    }

    .dashboard-header h1 {
        font-size: 30px !important;
    }

    .balance-card h2,
    .balance-amount {
        font-size: 36px !important;
    }

    .balance-card {
        padding: 24px 18px !important;
    }

    .dashboard-main,
    .dashboard-content,
    main {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}
/* =====================================================
   MOBILE SLIDE-OUT SIDEBAR
===================================================== */

.mobile-menu-button {
    display: none;
}

@media (max-width: 768px) {

    .mobile-menu-button {
        display: flex !important;
        align-items: center;
        justify-content: center;

        position: fixed;
        top: 18px;
        left: 16px;

        width: 46px;
        height: 46px;

        border: 0;
        border-radius: 12px;

        background: #0b1f3a;
        color: #ffffff;

        font-size: 24px;
        cursor: pointer;

        z-index: 3000;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;

        width: 290px !important;
        max-width: 82vw !important;

        height: 100vh !important;
        min-height: 100vh !important;

        overflow-y: auto !important;

        transform: translateX(-105%);
        transition: transform 0.25s ease;

        z-index: 2500;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .dashboard-main,
    .dashboard-content,
    main {
        width: 100% !important;
        margin-left: 0 !important;

        padding-top: 80px !important;
    }

    .sidebar nav,
    .sidebar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
}
/* =====================================================
   PROFILE MOBILE WIDTH FIX
===================================================== */

@media (max-width: 768px) {

    .profile-page,
    .profile-main,
    .profile-content,
    .profile-layout,
    .profile-settings,
    .profile-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .profile-main,
    .profile-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .profile-summary-card,
    .profile-card,
    .profile-settings-card,
    .profile-picture-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .profile-summary-details {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .profile-summary-details > div {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .profile-header,
    .profile-hero {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .profile-header h1,
    .profile-hero h1 {
        font-size: 36px !important;
        line-height: 1.1 !important;
        word-break: normal !important;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 768px) {

    .profile-header,
    .profile-hero {
        margin-bottom: 24px !important;
    }

    .profile-header + *,
    .profile-hero + * {
        margin-top: 0 !important;
    }

}