﻿﻿﻿:root {

    --brand-primary: #028A58;

    --brand-primary-dark: #058B6B;

    --brand-secondary: #092F88;

    --brand-secondary-bright: #073492;

    --surface: #FFFFFF;

    --surface-muted: #DCE7E8;

    --surface-strong: #DCE1E8;

    --text: #071C3F;

    --text-muted: #7F8082;

    --border: #C7D4DD;

    --danger: #B42318;

    --radius: 8px;

}



* { box-sizing: border-box; }

html, body { min-height: 100%; }

html { font-size: calc(16px * var(--font-scale, 1)); }

body {

    margin: 0;

    background: #F4F7F9;

    color: var(--text);

    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;

    font-size: calc(15px * var(--font-scale, 1));

    letter-spacing: 0;

}

a { color: var(--brand-secondary-bright); text-decoration: none; }

button, input, select { font: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1 { color: var(--brand-secondary); font-size: 2rem; }

h2 { color: var(--brand-secondary); }



.bank-shell { display: grid; min-height: 100vh; grid-template-columns: 340px minmax(0, 1fr); }

.bank-sidebar {

    position: sticky;

    top: 0;

    height: 100vh;

    padding: 28px;

    border-right: 1px solid rgba(9, 47, 136, 0.14);

    background: #fff;

}

.bank-main {

    position: relative;

    overflow: hidden;

    background:

        linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(247,251,255,.94) 26%, rgba(226,241,250,.9) 58%, rgba(238,250,247,.92) 100%);

}

.bank-main::before {

    content: "";

    position: fixed;

    inset: 0 0 0 340px;

    z-index: 0;

    pointer-events: none;

    background:

        radial-gradient(circle at 18% 16%, rgba(255,255,255,.85), transparent 30%),

        radial-gradient(circle at 88% 92%, rgba(255,255,255,.78), transparent 34%),

        radial-gradient(circle at 78% 34%, rgba(129, 205, 232, .22), transparent 34%),

        radial-gradient(circle at 52% 88%, rgba(2, 138, 88, .1), transparent 36%),

        linear-gradient(145deg, rgba(255,255,255,.62), rgba(223,242,252,.58), rgba(239,250,247,.62));

    background-size: 120% 120%, 130% 130%, 140% 140%, 150% 150%, 220% 220%;

    animation: ambient-shift 18s ease-in-out infinite alternate;

}

.bank-content {

    position: relative;

    z-index: 1;

    width: min(1120px, 100%);

    min-height: calc(100vh - 64px);

    margin: 0 auto;

    padding: 42px 32px 96px;

    animation: page-enter 260ms ease both;

}

.bank-footer {

    position: sticky;

    bottom: 0;

    z-index: 2;

    display: flex;

    justify-content: flex-end;

    gap: 36px;

    min-height: 64px;

    padding: 18px 38px;

    border-top: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.95);

}



.brand-block, .sidebar-profile, .nav-link, .panel-header, .inline-actions, .pill-row, .contact-actions {

    display: flex;

    align-items: center;

}

.brand-block { gap: 12px; margin-bottom: 34px; }

.brand-mark {

    display: grid;

    width: 48px;

    height: 48px;

    place-items: center;

    border: 1px solid var(--surface-strong);

    border-radius: var(--radius);

    overflow: hidden;

}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-block strong, .brand-block small, .sidebar-profile strong, .sidebar-profile small { display: block; }

.brand-block small, .sidebar-profile small, .lead-copy, .panel-note { color: var(--text-muted); }

.sidebar-profile { gap: 14px; margin-bottom: 26px; padding: 0 14px; }

.sidebar-profile div { min-width: 0; }

.sidebar-profile strong {

    max-width: 225px;

    overflow: hidden;

    color: var(--text);

    font-size: .98rem;

    line-height: 1.24;

    text-overflow: ellipsis;

    white-space: normal;

}

.profile-link {

    display: inline-flex;

    width: fit-content;

    margin-top: 5px;

    color: var(--brand-secondary-bright);

    font-size: .9rem;

    font-weight: 750;

}

.profile-link:hover { text-decoration: underline; }

.profile-avatar, .contact-avatar {

    display: grid;

    width: 44px;

    height: 44px;

    flex: 0 0 auto;

    place-items: center;

    border-radius: 50%;

    background: #FFF7C7;

    color: var(--brand-secondary);

    font-weight: 800;

}

.profile-avatar { background: var(--surface-strong); color: #fff; }

.nav-menu { display: grid; gap: 10px; }

.nav-link {

    gap: 16px;

    width: 100%;

    min-height: 54px;

    padding: 12px 16px;

    border: 0;

    border-radius: var(--radius);

    background: transparent;

    color: var(--text);

    cursor: pointer;

    font-size: 1.08rem;

    font-weight: 700;

    text-align: left;

    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;

}

.nav-link:hover, .nav-link.active { background: #F0F4F8; color: var(--brand-secondary); transform: translateX(6px) scale(1.025); }

.nav-icon {

    display: grid;

    width: 28px;

    height: 28px;

    flex: 0 0 28px;

    place-items: center;

    color: var(--brand-secondary);

}

.nav-icon svg,

.nav-subicon svg {

    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}

.nav-group { border-bottom: 1px solid var(--border); padding-bottom: 10px; }

.nav-group summary { list-style: none; cursor: pointer; }

.nav-group summary::-webkit-details-marker { display: none; }

.nav-submenu { display: grid; gap: 4px; margin: 4px 0 0; padding: 10px 0 10px 44px; background: #F7F9FB; animation: submenu-enter 180ms ease both; }

.nav-sublink {

    display: flex;

    min-height: 40px;

    align-items: center;

    gap: 10px;

    padding: 9px 10px;

    border-radius: 7px;

    color: var(--text-muted);

    font-weight: 650;

}

.nav-subicon {

    display: grid;

    width: 24px;

    height: 24px;

    flex: 0 0 24px;

    place-items: center;

    color: var(--brand-secondary);

    opacity: .76;

}

.nav-subicon svg {

    width: 18px;

    height: 18px;

}

.nav-sublink:hover, .nav-sublink.active { background: #EEF3F8; color: var(--brand-secondary); }



.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }

.page-actions { display: flex; align-items: center; gap: 12px; }

.eyebrow { color: var(--text-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }

.button {

    display: inline-flex;

    min-height: 40px;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: var(--radius);

    cursor: pointer;

    font-weight: 700;

    padding: 0 16px;

}

.button-primary { background: var(--brand-primary); color: #fff; }

.button-secondary { border: 1px solid var(--border); background: var(--surface-strong); color: var(--brand-secondary); }

.text-button { border: 0; background: transparent; color: var(--brand-secondary-bright); cursor: pointer; font-weight: 700; }

.icon-button {

    display: inline-grid;

    width: 42px;

    height: 42px;

    place-items: center;

    border: 1px solid rgba(9, 47, 136, .22);

    border-radius: var(--radius);

    background: #fff;

    color: var(--brand-secondary);

    cursor: pointer;

    box-shadow: 0 10px 24px rgba(9, 47, 136, .08);

    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;

}

.icon-button:hover {

    transform: translateY(-1px);

    border-color: var(--brand-secondary);

    background: #EEF5FF;

}

.icon-button svg {

    width: 21px;

    height: 21px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}

.panel, .account-card, .promo-card, .credit-product-card, .category-card, .request-card, .quick-tile, .transfer-row, .contact-row, .payment-row {

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

}

.panel { padding: 24px; }

.panel-header { justify-content: space-between; gap: 16px; margin-bottom: 18px; }

.loading-panel {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 22px;

    border: 1px dashed var(--border);

    border-radius: var(--radius);

    background: rgba(255,255,255,.82);

    color: var(--text-muted);

    font-weight: 700;

}

.loading-panel::before {

    content: "";

    width: 22px;

    height: 22px;

    border: 3px solid rgba(9, 47, 136, .16);

    border-top-color: var(--brand-primary);

    border-radius: 50%;

    animation: spin-loader 720ms linear infinite;

}

.form-error { margin: 0; color: var(--danger); font-size: .92rem; font-weight: 700; }

.form-success { margin: 0; color: var(--brand-primary); font-size: .92rem; font-weight: 800; }



.home-hero { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }

.product-strip, .product-grid, .home-grid, .quick-grid, .category-strip, .request-grid {

    display: grid;

    gap: 20px;

}

.product-strip, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }

.home-grid { grid-template-columns: minmax(360px, .75fr) minmax(0, 1.25fr); margin-top: 24px; }

.quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.quick-tile { display: grid; gap: 12px; min-height: 128px; padding: 18px; color: var(--text); font-weight: 700; }

.segment-pill {

    min-height: 38px;

    padding: 0 20px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: #F4F7FA;

    color: var(--brand-secondary);

    cursor: pointer;

    font-weight: 700;

}

.segment-pill.active, .segment-pill:hover { background: var(--brand-secondary); color: #fff; }

.account-card {

    min-height: 150px;

    padding: 18px 20px;

    cursor: pointer;

    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;

}

.account-card:hover {

    transform: translateY(-2px);

    border-color: rgba(2, 138, 88, .42);

    box-shadow: 0 18px 42px rgba(9, 47, 136, .1);

}

.account-card-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

.account-card-header span, .account-balance span { color: var(--text-muted); }

.account-card-header strong { color: var(--text); }

.account-card-header i { display: inline-block; width: 1px; height: 16px; margin: 0 8px; vertical-align: middle; background: var(--border); }

.account-balance strong, .credit-product-card b { display: block; margin-top: 10px; font-size: 1.8rem; }

.account-number { margin: 12px 0; padding: 8px 10px; border-radius: 7px; background: #F5F8FA; color: var(--brand-secondary); font-weight: 800; }

.account-card-compact .account-number {

    width: fit-content;

    max-width: 100%;

    background: transparent;

    padding: 0;

    overflow-wrap: anywhere;

}

.promo-card { display: grid; min-height: 150px; place-items: center; padding: 20px; text-align: center; }

.promo-icon, .payment-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #EEF3F8; color: var(--brand-secondary); font-weight: 800; }

.offer-card { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 18px; align-items: center; min-height: 210px; margin-top: 20px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }

.offer-graphic { display: flex; align-items: end; justify-content: center; gap: 10px; min-height: 150px; }

.offer-graphic span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--brand-primary); color: #fff; font-weight: 900; }



.product-section { margin-bottom: 30px; }

.credit-product-card, .category-card, .request-card { min-height: 160px; padding: 20px; }

.request-card-link {

    display: grid;

    color: var(--text);

    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;

}

.request-card-link:hover {

    border-color: var(--brand-primary);

    box-shadow: 0 20px 54px rgba(2, 138, 88, .12);

    transform: translateY(-2px);

}

.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; margin-bottom: 22px; padding: 28px; border-radius: var(--radius); background: #F8FAFC; }

.contact-hero .search-box { grid-column: 1 / -1; }

.search-box { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text-muted); }

.search-box input { flex: 1; min-width: 0; border: 0; outline: none; color: var(--text); font-size: 1rem; }

.contacts-panel { padding: 0; overflow: hidden; }

.contacts-panel .panel-header { justify-content: flex-end; margin: 0; padding: 20px; border-bottom: 1px solid var(--border); }

.contact-row { display: grid; grid-template-columns: 46px minmax(220px, 1.4fr) minmax(90px, .6fr) minmax(150px, .8fr) minmax(150px, .8fr); gap: 18px; align-items: center; border-width: 0 0 1px; border-radius: 0; padding: 18px 24px; }



.wide-page { width: min(1080px, 100%); }

.narrow-page { width: min(540px, 100%); margin: 0 auto; }

.segmented-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.segmented-tabs button { min-height: 50px; border: 0; background: #fff; color: var(--text-muted); cursor: pointer; font-weight: 700; }

.segmented-tabs .active { outline: 2px solid var(--brand-secondary-bright); outline-offset: -2px; color: var(--brand-secondary); }

.soft-panel { display: grid; gap: 14px; margin-bottom: 28px; padding: 28px; border-radius: var(--radius); background: #F8FAFC; }

.transfer-list-section { display: grid; gap: 10px; margin-bottom: 24px; }

.transfer-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px; }

.transfer-page {

    width: min(980px, 100%);

    margin: 0 auto;

}

.transfer-layout {

    display: grid;

    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);

    gap: 20px;

    align-items: start;

}

.transfer-form-panel {

    background: rgba(255,255,255,.9);

    box-shadow: 0 22px 62px rgba(9, 47, 136, .08);

}

.transfer-form-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

}

.transfer-field-wide {

    grid-column: 1 / -1;

}

.inline-field-action {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 10px;

}

.validated-account {

    grid-column: 1 / -1;

    display: grid;

    grid-template-columns: 42px minmax(0, 1fr);

    gap: 12px;

    align-items: center;

    min-height: 68px;

    padding: 12px 14px;

    border: 1px solid rgba(2, 138, 88, .22);

    border-radius: var(--radius);

    background: #EAF8F1;

}

.validated-account strong,

.validated-account small {

    display: block;

}

.validated-account small {

    color: var(--text-muted);

}

.validated-icon {

    display: grid;

    width: 38px;

    height: 38px;

    place-items: center;

    border-radius: 50%;

    background: var(--brand-primary);

    color: #fff;

}

.validated-icon svg {

    width: 20px;

    height: 20px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 3;

}

.transfer-actions {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

    margin-top: 20px;

}

.transfer-summary-card {

    position: sticky;

    top: 32px;

    padding: 22px;

    border: 1px solid rgba(9, 47, 136, .14);

    border-radius: var(--radius);

    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(233,246,251,.9));

    box-shadow: 0 22px 62px rgba(9, 47, 136, .1);

}

.transfer-summary-card h2 {

    margin: 14px 0 16px;

}

.transfer-summary-card dl {

    display: grid;

    gap: 12px;

    margin: 0 0 18px;

}

.transfer-summary-card div {

    padding-bottom: 12px;

    border-bottom: 1px solid rgba(199, 212, 221, .72);

}

.transfer-summary-card div:last-child {

    border-bottom: 0;

}

.transfer-summary-card dt {

    color: var(--text-muted);

    font-size: .82rem;

    font-weight: 800;

    text-transform: uppercase;

}

.transfer-summary-card dd {

    margin: 4px 0 0;

    color: var(--brand-secondary);

    font-weight: 850;

}

.transfer-summary-card p {

    margin-bottom: 0;

    color: var(--text-muted);

}

.category-strip, .request-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.request-grid-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.payment-row { display: grid; grid-template-columns: 46px minmax(240px, 1fr) minmax(170px, .7fr) auto auto; gap: 18px; align-items: center; border-width: 0 0 1px; border-radius: 0; padding: 16px; }

.panel-split { height: 1px; margin: 14px -24px 6px; background: var(--border); }



.profile-page {

    width: min(720px, 100%);

    margin: 0 auto;

}

.personalization-overlay {

    position: fixed;

    inset: 0;

    z-index: 20;

    display: grid;

    place-items: center;

    padding: 28px;

    background: rgba(7, 28, 63, .38);

    backdrop-filter: blur(10px);

    animation: page-enter 160ms ease both;

}

.personalization-window {

    width: min(760px, 100%);

    max-height: min(780px, calc(100vh - 56px));

    overflow: auto;

    border: 1px solid rgba(9, 47, 136, .16);

    border-radius: var(--radius);

    background: rgba(255, 255, 255, .96);

    box-shadow: 0 34px 110px rgba(9, 47, 136, .28);

}

.personalization-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 18px;

    padding: 24px 26px;

    border-bottom: 1px solid var(--border);

}

.personalization-header h2 {

    margin-bottom: 4px;

}

.personalization-header p {

    margin-bottom: 0;

    color: var(--text-muted);

}

.personalization-body {

    display: grid;

    gap: 22px;

    padding: 24px 26px 28px;

}

.preference-panel {

    display: grid;

    gap: 14px;

}

.preference-panel h3 {

    margin-bottom: 0;

    color: var(--brand-secondary);

}

.preference-control-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

}

.range-row {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 12px;

    align-items: center;

}

.range-row output {

    color: var(--brand-secondary);

    font-weight: 800;

}

.style-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

}

.single-style-grid {

    grid-template-columns: minmax(0, 1fr);

}

.style-card {

    display: grid;

    gap: 12px;

    min-height: 164px;

    padding: 14px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    color: var(--text);

    cursor: pointer;

    text-align: left;

    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;

}

.style-card:hover,

.style-card.active {

    border-color: var(--brand-primary);

    box-shadow: 0 18px 42px rgba(2, 138, 88, .14);

    transform: translateY(-2px);

}

.style-preview {

    display: grid;

    gap: 8px;

    min-height: 86px;

    padding: 12px;

    border-radius: 7px;

    overflow: hidden;

}

.style-preview-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;

}

.style-preview-card,

.style-preview-bar,

.style-preview-line {

    border-radius: 6px;

}

.style-preview-card { min-height: 28px; }

.style-preview-bar { min-height: 10px; }

.style-preview-line { min-height: 8px; width: 72%; }

.style-preview.default {

    background: linear-gradient(145deg, #FFFFFF, #E6F3F6);

}

.style-preview.default .style-preview-card,

.style-preview.default .style-preview-bar {

    background: #028A58;

}

.style-preview.default .style-preview-line {

    background: #DCE1E8;

}

.style-card strong,

.style-card span {

    display: block;

}

.style-card span {

    color: var(--text-muted);

    font-size: .9rem;

}

.personalization-footer {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

    padding-top: 4px;

}

.profile-hero-card {

    display: grid;

    gap: 8px;

    justify-items: center;

    margin-bottom: 30px;

    padding: 34px 24px;

    border: 1px solid rgba(9, 47, 136, .12);

    border-radius: var(--radius);

    background: rgba(255, 255, 255, .72);

    box-shadow: 0 22px 60px rgba(9, 47, 136, .08);

    text-align: center;

}

.profile-hero-card strong {

    font-size: 1.18rem;

}

.profile-hero-card span:last-child,

.profile-row span {

    color: var(--text-muted);

}

.profile-hero-avatar {

    display: grid;

    width: 80px;

    height: 80px;

    place-items: center;

    border-radius: 50%;

    background: #BFC9DE;

    color: #fff;

    font-size: 1.35rem;

    font-weight: 800;

}

.profile-section {

    margin-bottom: 30px;

}

.profile-list {

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255, 255, 255, .84);

}

.profile-row {

    display: grid;

    grid-template-columns: 42px minmax(0, 1fr);

    gap: 20px;

    align-items: center;

    min-height: 84px;

    padding: 18px 22px;

    border-bottom: 1px solid var(--border);

}

.profile-row:last-child {

    border-bottom: 0;

}

.profile-row-icon {

    display: grid;

    width: 36px;

    height: 36px;

    justify-self: center;

    align-self: center;

    place-items: center;

    border-radius: 7px;

    background: #EEF5FF;

    color: var(--brand-secondary);

    line-height: 0;

}

.profile-row-icon svg {

    width: 21px;

    height: 21px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}



.security-page {

    display: grid;

    width: min(720px, 100%);

    gap: 22px;

    margin: 0 auto;

}

.security-card {

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255,255,255,.86);

    box-shadow: 0 18px 46px rgba(9, 47, 136, .08);

}

.security-card-header {

    display: flex;

    gap: 16px;

    align-items: flex-start;

    margin-bottom: 18px;

}

.security-card-header h2 {

    margin-bottom: 4px;

}

.security-card-header p {

    margin: 0;

    color: var(--text-muted);

}

.security-icon {

    display: grid;

    width: 48px;

    height: 48px;

    flex: 0 0 48px;

    place-items: center;

    border-radius: var(--radius);

    background: #EEF5FF;

    color: var(--brand-secondary);

}

.security-icon svg {

    width: 25px;

    height: 25px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}

.security-form {

    display: grid;

    gap: 16px;

}

.security-password-panel {

    margin-top: 18px;

    padding-top: 18px;

    border-top: 1px solid var(--border);

    animation: page-enter 220ms ease both;

}

.security-switch-row {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    min-height: 66px;

    cursor: pointer;

}

.security-switch-row span {

    display: grid;

    gap: 4px;

}

.security-switch-row small {

    color: var(--text-muted);

}

.security-switch-row input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}

.security-switch-row i {

    position: relative;

    width: 58px;

    height: 32px;

    flex: 0 0 58px;

    border-radius: 999px;

    background: #D7E0EA;

    transition: background-color 180ms ease;

}

.security-switch-row i::after {

    content: "";

    position: absolute;

    top: 4px;

    left: 4px;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 3px 10px rgba(9,47,136,.18);

    transition: transform 180ms ease;

}

.security-switch-row input:checked + i {

    background: var(--brand-primary);

}

.security-switch-row input:checked + i::after {

    transform: translateX(26px);

}

.privacy-shield {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    place-items: center;

    gap: 8px;

    background: #020817;

    color: #fff;

    text-align: center;

}

.privacy-shield.active {

    display: grid;

}

.privacy-shield strong {

    font-size: 1.6rem;

}

.privacy-shield span {

    color: rgba(255,255,255,.74);

}

.profile-row strong,

.profile-row span {

    display: block;

}

.profile-auth-badge {

    display: inline-flex !important;

    width: fit-content;

    align-items: center;

    gap: 8px;

    margin-top: 6px;

    padding: 6px 11px;

    border: 1px solid rgba(2, 138, 88, .28);

    border-radius: 999px;

    background: #E8F7EF;

    color: var(--brand-primary) !important;

    font-weight: 800;

}

.profile-auth-badge svg {

    width: 16px;

    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 3;

}



.auth-shell {

    min-height: 100vh;

}

.login-page {

    position: relative;

    isolation: isolate;

    min-height: 100vh;

    min-height: 100dvh;

    display: grid;

    place-items: stretch;

    overflow: hidden;

    padding: 0;

    background:

        radial-gradient(circle at 10% 15%, rgba(30, 95, 140, .12), transparent 30%),

        radial-gradient(circle at 90% 85%, rgba(0, 159, 168, .10), transparent 28%),

        linear-gradient(135deg, #eef3f8 0%, #f8fafc 48%, #edf4f5 100%);

}

.login-shell {

    display: grid;

    grid-template-columns: minmax(420px, 1fr) minmax(460px, 1fr);

    min-height: 100vh;

    min-height: 100dvh;

    background: #fff;

}

.login-trust-panel {

    display: grid;

    place-items: center;

    padding: clamp(48px, 7vw, 96px);

    background: #fff;

}

.login-trust-content {

    display: grid;

    width: min(540px, 100%);

    gap: clamp(42px, 6vw, 64px);

}

.login-brand-logo {

    width: 186px;

    height: 186px;

    justify-self: center;

    object-fit: cover;

    box-shadow: 0 18px 48px rgba(30, 95, 140, .08);

}

.login-trust-copy {

    display: grid;

    gap: 32px;

}

.login-trust-copy h1 {

    margin: 0;

    color: #1B3457;

    font-size: clamp(2rem, 3.1vw, 2.7rem);

    font-weight: 760;

    line-height: 1.18;

}

.login-secure-url {

    display: inline-flex;

    width: fit-content;

    max-width: 100%;

    align-items: center;

    gap: 14px;

    min-height: 58px;

    padding: 9px 22px;

    border: 1px solid #dbe3ec;

    border-radius: 999px;

    background: #F8FAFC;

    color: #17243A;

    box-shadow: 0 5px 14px rgba(15, 35, 64, .04);

}

.login-secure-url span:last-child {

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.login-lock {

    position: relative;

    display: inline-block;

    width: 30px;

    height: 30px;

    flex: 0 0 auto;

    border-radius: 8px;

    background: #E6F6EF;

}

.login-lock::before {

    position: absolute;

    top: 7px;

    left: 9px;

    width: 12px;

    height: 9px;

    content: "";

    border: 3px solid #15803D;

    border-bottom: 0;

    border-radius: 8px 8px 0 0;

}

.login-lock::after {

    position: absolute;

    right: 8px;

    bottom: 7px;

    left: 8px;

    height: 12px;

    content: "";

    border-radius: 3px;

    background: #15803D;

}

.login-security-list {

    display: grid;

    gap: 24px;

    margin: 0;

    padding: 0;

    color: #17243A;

    list-style: none;

}

.login-security-list li {

    display: grid;

    grid-template-columns: 44px minmax(0, 1fr);

    gap: 14px;

    align-items: start;

    line-height: 1.45;

}

.login-security-list strong {

    color: #1B3457;

    font-size: 1.25rem;

    font-weight: 800;

}

.login-access-panel {

    position: relative;

    display: grid;

    place-items: center;

    overflow: hidden;

    padding: clamp(32px, 6vw, 76px);

    background: #F4F6F9;

}

.login-access-card {

    position: relative;

    z-index: 1;

    display: grid;

    width: min(560px, 100%);

    min-height: 540px;

    align-content: center;

    gap: 30px;

    padding: clamp(42px, 5vw, 64px);

    border: 1px solid #dbe3ec;

    border-radius: 8px;

    background: #fff;

    box-shadow: 0 28px 70px rgba(15, 35, 64, .13);

}

.login-form-header {

    display: grid;

    gap: 16px;

}

.login-form-header h1 {

    margin: 0;

    color: #1B3457;

    font-size: clamp(2rem, 2.5vw, 2.45rem);

    font-weight: 760;

    line-height: 1.12;

}

.login-form-header p {

    margin: 0;

    color: #667085;

    line-height: 1.65;

}

.login-form {

    display: grid;

    gap: 20px;

}

.login-field {

    display: grid;

    gap: 8px;

    color: #344054;

    font-weight: 750;

}

.login-input {

    width: 100%;

    min-height: 52px;

    border: 1px solid #cbd7e8;

    border-radius: 7px;

    background: #EAF2FF;

    color: #17243A;

    outline: none;

    padding: 0 18px;

    font: inherit;

    font-weight: 700;

    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;

}

.login-input:focus {

    border-color: #1E5F8C;

    background: #fff;

    box-shadow: 0 0 0 .24rem rgba(30, 95, 140, .12);

}

.login-password-control {

    position: relative;

    display: block;

}

.login-password-control .login-input {

    padding-right: 66px;

}

.login-password-toggle {

    position: absolute;

    top: 50%;

    right: 9px;

    min-width: 42px;

    height: 30px;

    border: 0;

    border-radius: 7px;

    background: #DCE6F5;

    color: #1B3457;

    cursor: pointer;

    font-weight: 800;

    transform: translateY(-50%);

    transition: background-color .18s ease, color .18s ease;

}

.login-password-toggle:hover {

    background: #1B3457;

    color: #fff;

}

.login-password-toggle:focus-visible {

    outline: 3px solid rgba(30, 95, 140, .22);

    outline-offset: 2px;

}

.login-submit {

    min-height: 52px;

    margin-top: 4px;

    background: #15803D;

    border: 1px solid #15803D;

    box-shadow: 0 12px 24px rgba(21, 128, 61, .2);

    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;

}

.login-submit:hover,

.login-submit:focus-visible {

    background: #0F6B31;

    box-shadow: 0 15px 28px rgba(21, 128, 61, .25);

    transform: translateY(-1px);

}

.login-motion-lines {

    position: absolute;

    inset-inline: 0;

    bottom: 34px;

    height: 74px;

    overflow: hidden;

    pointer-events: none;

}

.login-motion-lines span {

    position: absolute;

    left: 0;

    display: block;

    height: 3px;

    border-radius: 999px;

}

.login-motion-lines span:nth-child(1) { top: 4px; width: 108%; background: linear-gradient(90deg, transparent 0%, #15803D 12%, #15803D 88%, transparent 100%); }

.login-motion-lines span:nth-child(2) { top: 25px; width: 104%; background: linear-gradient(90deg, transparent 0%, #1E5F8C 12%, #1E5F8C 88%, transparent 100%); }

.login-motion-lines span:nth-child(3) { top: 46px; width: 110%; background: linear-gradient(90deg, transparent 0%, #fff 12%, #fff 88%, transparent 100%); opacity: .7; }

.login-motion-lines span:nth-child(4) { top: 67px; width: 106%; background: linear-gradient(90deg, transparent 0%, #009FA8 12%, #009FA8 88%, transparent 100%); }

.login-logo { width: 78px; height: 78px; object-fit: cover; border-radius: 8px; }

.login-slider { display: grid; gap: 16px; animation: slide-fields 700ms 120ms ease both; }

.login-card,

.login-visual,

.visual-panel,

.visual-lines {

    display: grid;

}

.login-card {

    width: min(1120px, calc(100% - 40px));

    min-height: 620px;

    grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);

    border-radius: 8px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 28px 70px rgba(15, 35, 64, .13);

}

.login-form-panel {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 22px;

    padding: 58px;

}

.login-copy h1 {

    margin-bottom: 8px;

    color: #1B3457;

}

.login-copy p {

    color: #667085;

}

.password-control {

    position: relative;

    display: block;

}

.password-toggle {

    position: absolute;

    right: 7px;

    top: 50%;

    height: 30px;

    border: 0;

    border-radius: 7px;

    background: var(--surface-strong);

    color: var(--brand-secondary);

    cursor: pointer;

    font-weight: 800;

    transform: translateY(-50%);

}

.login-visual {

    align-items: end;

    padding: 42px;

    background: linear-gradient(145deg, rgba(27, 52, 87, .94), rgba(0, 159, 168, .82));

    color: #fff;

}

.visual-panel {

    gap: 18px;

    max-width: 420px;

}

.visual-panel strong {

    font-size: 2.4rem;

    line-height: 1.08;

}

.visual-lines {

    gap: 10px;

    width: min(280px, 100%);

}

.visual-lines i {

    display: block;

    height: 8px;

    border-radius: 999px;

    background: rgba(255,255,255,.72);

    animation: line-grow 900ms ease both;

}

.field { display: grid; gap: 7px; color: var(--text-muted); font-weight: 700; }

.input-control, .select-control { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius); background: #F2F7FF; color: var(--text); outline: none; padding: 0 14px; }

.input-control:focus, .select-control:focus { border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(9, 47, 136, .12); }



#blazor-error-ui { display: none; }



@keyframes page-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@keyframes submenu-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@keyframes slide-panel { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }

@keyframes slide-fields { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }

@keyframes line-grow { from { width: 0; opacity: 0; } to { opacity: 1; } }

@keyframes login-shell-in { from { opacity: 0; transform: translateY(6px) scale(.995); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes login-content-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@keyframes login-brand-in { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes login-line-flow { from { transform: translateX(-115%); } to { transform: translateX(115%); } }

@keyframes login-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@keyframes ambient-shift {

    0% { background-position: 0% 0%, 100% 100%, 100% 22%, 50% 100%, 0% 0%; }

    50% { background-position: 12% 8%, 84% 86%, 82% 38%, 54% 78%, 55% 48%; }

    100% { background-position: 4% 16%, 96% 92%, 96% 48%, 40% 88%, 100% 100%; }

}

@keyframes spin-loader { to { transform: rotate(360deg); } }



@media (prefers-reduced-motion: no-preference) {

    .login-shell { animation: login-shell-in .95s cubic-bezier(.22, 1, .36, 1) both; }

    .login-trust-content { animation: login-content-in .85s .1s cubic-bezier(.22, 1, .36, 1) both; }

    .login-access-card { animation: login-brand-in .9s .16s cubic-bezier(.22, 1, .36, 1) both; }

    .login-brand-logo { animation: login-float 4s ease-in-out infinite; }

    .login-motion-lines span { animation: login-line-flow 6.8s linear infinite; }

    .login-motion-lines span:nth-child(1) { animation-duration: 8.2s; animation-delay: -1.7s; }

    .login-motion-lines span:nth-child(2) { animation-duration: 9.4s; animation-delay: -4.1s; }

    .login-motion-lines span:nth-child(3) { animation-duration: 10.2s; animation-delay: -2.8s; }

    .login-motion-lines span:nth-child(4) { animation-duration: 8.9s; animation-delay: -5.2s; }

}



@media print {

    body::before {

        content: "Contenido protegido por privacidad de Banca Web";

        position: fixed;

        inset: 0;

        z-index: 999999;

        display: grid;

        place-items: center;

        background: #000;

        color: #fff;

        font-size: 18pt;

    }

    body > * {

        visibility: hidden !important;

    }

}



@media (max-width: 980px) {

    .bank-shell, .home-grid, .product-strip, .product-grid, .category-strip, .request-grid, .request-grid-small, .offer-card, .login-card { grid-template-columns: 1fr; }

    .login-shell { grid-template-columns: 1fr; }

    .login-page { overflow-y: auto; }

    .login-trust-panel { padding: 40px 24px 20px; }

    .login-trust-content { gap: 28px; }

    .login-brand-logo { width: 132px; height: 132px; }

    .login-access-panel { padding: 24px 20px 48px; }

    .login-access-card { min-height: auto; }

    .bank-sidebar { position: static; height: auto; padding: 16px; }

    .bank-main::before { inset: 0; }

    .nav-menu { grid-template-columns: repeat(5, minmax(0, 1fr)); }

    .nav-link { justify-content: center; }

    .nav-link span:last-child, .nav-submenu, .sidebar-profile { display: none; }

    .bank-content { padding: 22px 16px 96px; }

    .contact-row, .payment-row { grid-template-columns: 46px minmax(0, 1fr); }

    .contact-row span:nth-child(n+4), .payment-row > :nth-child(n+4) { display: none; }

    .login-card { gap: 24px; min-height: auto; }

    .login-trust-copy h1 { font-size: 2rem; }

}



@media (max-width: 620px) {

    .page-header, .home-hero, .contact-actions, .bank-footer { align-items: flex-start; flex-direction: column; }

    .contact-hero { display: flex; flex-direction: column; }

    .button, .contact-actions { width: 100%; }

    .page-actions { width: 100%; }

    .personalization-overlay { align-items: start; padding: 14px; }

    .personalization-header,

    .personalization-footer { flex-direction: column; }

    .preference-control-grid,

    .style-grid { grid-template-columns: 1fr; }

    .personalization-footer .button { width: 100%; }

    .login-form-panel { padding: 32px 24px; }

    .login-secure-url { width: 100%; padding-inline: 16px; font-size: .88rem; }

    .login-security-list li { grid-template-columns: 38px minmax(0, 1fr); }

    .login-access-card { padding: 32px 22px; }

    .login-form-header h1 { font-size: 1.85rem; }

    .login-motion-lines { display: none; }

}



.finance-intelligence {

    display: grid;

    grid-template-columns: 1.25fr repeat(2, minmax(0, .85fr));

    gap: 16px;

    margin-bottom: 20px;

}



.finance-card {

    display: grid;

    grid-template-columns: 48px minmax(0, 1fr);

    gap: 14px;

    align-items: center;

    min-height: 132px;

    padding: 18px;

    border: 1px solid rgba(9, 47, 136, .14);

    border-radius: var(--radius);

    background: rgba(255,255,255,.86);

    box-shadow: 0 18px 48px rgba(9, 47, 136, .08);

    transition: transform 180ms ease, box-shadow 180ms ease;

}



.finance-card:hover,

.profile-action-card:hover:not(:disabled) {

    transform: translateY(-2px);

    box-shadow: 0 24px 62px rgba(9, 47, 136, .12);

}



.finance-card-main {

    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(229,246,250,.88));

}



.finance-card strong {

    display: block;

    color: var(--brand-secondary);

    font-size: 1.25rem;

}



.finance-card p,

.movement-row small,

.profile-action-card small,

.security-overview-card small {

    margin: 4px 0 0;

    color: var(--text-muted);

}



.finance-icon,

.movement-icon {

    display: grid;

    width: 44px;

    height: 44px;

    place-items: center;

    border-radius: var(--radius);

    background: #EEF5FF;

    color: var(--brand-secondary);

    font-weight: 900;

}



.finance-icon svg,

.profile-action-card svg,

.security-overview-card svg {

    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}



.movements-preview {

    margin-top: 24px;

}



.movement-list {

    display: grid;

    gap: 10px;

}



.movement-row {

    display: grid;

    grid-template-columns: 44px minmax(0, 1fr) auto;

    gap: 14px;

    align-items: center;

    min-height: 66px;

    padding: 12px 0;

    border-top: 1px solid rgba(199, 212, 221, .72);

}



.movement-row:first-child {

    border-top: 0;

}



.movement-row strong,

.movement-row small {

    display: block;

}



.movement-icon.income {

    background: #E8F7EF;

    color: var(--brand-primary);

}



.movement-icon.outcome {

    background: #FFF0F0;

    color: var(--danger);

}



.amount-positive {

    color: var(--brand-primary);

}



.amount-negative {

    color: var(--danger);

}



.empty-state {

    display: grid;

    min-height: 150px;

    place-items: center;

    gap: 10px;

    padding: 24px;

    color: var(--text-muted);

    text-align: center;

}



.movements-section {

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255,255,255,.86);

}



.movement-filters {

    display: grid;

    grid-template-columns: minmax(180px, 1.2fr) minmax(140px, .8fr) minmax(140px, .8fr) minmax(220px, 1.4fr) auto;

    gap: 14px;

    align-items: end;

    margin-bottom: 18px;

}



.movement-table {

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

}



.movement-table-head,

.movement-table-row {

    display: grid;

    grid-template-columns: 150px 150px minmax(0, 1fr) 180px 150px 120px;

    gap: 14px;

    align-items: center;

    padding: 14px 18px;

}



.movement-table-head {

    background: #F3F7FB;

    color: var(--brand-secondary);

    font-size: .86rem;

    font-weight: 900;

    text-transform: uppercase;

}



.movement-table-row {

    border-top: 1px solid var(--border);

}



.movement-table-row:hover {

    background: #F8FBFD;

}



.movement-table-row small,

.previous-balance {

    display: block;

    margin-top: 4px;

    color: var(--text-muted);

    font-size: .78rem;

    font-weight: 650;

}



.movement-row-actions {

    display: flex;

    justify-content: flex-end;

}



.inline-warning {

    padding: 14px 16px;

    border: 1px solid rgba(180,35,24,.18);

    border-radius: var(--radius);

    background: #FFF4F4;

    color: var(--danger);

    font-weight: 700;

}

.inline-success {

    padding: 14px 16px;

    border: 1px solid rgba(2, 138, 88, .24);

    border-radius: var(--radius);

    background: #EAF8F1;

    color: var(--brand-primary);

    font-weight: 800;

}



.modal-backdrop {

    position: fixed;

    inset: 0;

    z-index: 30;

    display: grid;

    place-items: center;

    padding: 28px;

    background: rgba(7, 28, 63, .45);

    backdrop-filter: blur(8px);

}



.savings-modal {

    width: min(900px, 100%);

    max-height: min(760px, calc(100vh - 56px));

    overflow: auto;

    border: 1px solid rgba(9, 47, 136, .22);

    border-radius: var(--radius);

    background: rgba(255, 255, 255, .98);

    box-shadow: 0 34px 110px rgba(9, 47, 136, .28);

}



.savings-modal-header,

.savings-modal-footer {

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px 22px;

}



.savings-modal-header {

    border-bottom: 1px solid var(--border);

}



.savings-modal-header h2 {

    margin: 0 0 4px;

    color: var(--text);

    font-size: 1.25rem;

}



.savings-modal-header p {

    margin: 0;

    color: var(--text-muted);

}



.savings-modal-header .icon-button {

    margin-left: auto;

}



.savings-modal-icon {

    display: grid;

    width: 64px;

    height: 64px;

    flex: 0 0 64px;

    place-items: center;

    border-radius: var(--radius);

    background: #EEF5FF;

    color: var(--brand-secondary);

    font-weight: 900;

}



.savings-modal-body {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px 22px;

    padding: 28px 22px;

}



.savings-modal-body .inline-warning,

.savings-modal-body .skeleton-stack {

    grid-column: 1 / -1;

}



.savings-modal-footer {

    justify-content: flex-end;

    border-top: 1px solid var(--border);

    background: #F8FAFC;

}



.confirm-modal {

    width: min(520px, 100%);

    border: 1px solid rgba(9, 47, 136, .18);

    border-radius: var(--radius);

    background: #fff;

    box-shadow: 0 34px 110px rgba(9, 47, 136, .28);

    overflow: hidden;

}



.confirm-modal-header {

    display: grid;

    grid-template-columns: 52px minmax(0, 1fr);

    gap: 14px;

    align-items: center;

    padding: 22px;

    border-bottom: 1px solid var(--border);

}



.confirm-modal-icon {

    display: grid;

    width: 48px;

    height: 48px;

    place-items: center;

    border-radius: 50%;

    background: #EAF8F1;

    color: var(--brand-primary);

}

.confirm-modal-icon-success {

    background: #EAF8F1;

    color: #153B28;

}

.confirm-modal-icon-success svg {

    animation: creditSuccessPop .62s cubic-bezier(.18, .89, .32, 1.28) both;

}

.credit-success-modal {

    width: min(560px, calc(100vw - 32px));

}

.credit-success-modal .confirm-modal-header {

    grid-template-columns: 1fr;

    justify-items: center;

    text-align: center;

    padding: 28px 26px 30px;

    border-bottom: 0;

}

.credit-success-modal .confirm-modal-header h2 {

    margin-top: 8px;

    color: #153B28;

    font-size: 1.45rem;

}

.credit-success-modal .confirm-modal-header p {

    max-width: 430px;

    color: var(--text-secondary);

    line-height: 1.5;

}

@keyframes creditSuccessPop {

    0% {

        opacity: 0;

        transform: rotate(-22deg) scale(.72);

    }

    65% {

        opacity: 1;

        transform: rotate(5deg) scale(1.12);

    }

    100% {

        opacity: 1;

        transform: rotate(0) scale(1);

    }

}



.confirm-modal-icon svg,

.receipt-check svg,

.mini-check svg {

    width: 24px;

    height: 24px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 3;

}



.confirm-modal-header h2 {

    margin: 0 0 4px;

    color: var(--brand-secondary);

}



.confirm-modal-header p {

    margin: 0;

    color: var(--text-muted);

}



.confirm-transfer-summary {

    display: grid;

    gap: 0;

    margin: 0;

    padding: 6px 22px;

}



.confirm-transfer-summary div {

    display: grid;

    grid-template-columns: 130px minmax(0, 1fr);

    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid var(--border);

}



.confirm-transfer-summary div:last-child {

    border-bottom: 0;

}



.confirm-transfer-summary dt {

    color: var(--text-muted);

    font-size: .78rem;

    font-weight: 900;

    text-transform: uppercase;

}



.confirm-transfer-summary dd {

    margin: 0;

    color: var(--text);

    font-weight: 850;

}



.confirm-modal-actions,

.receipt-actions {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

    padding: 18px 22px;

    border-top: 1px solid var(--border);

    background: #F8FAFC;

}



.receipt-modal {

    width: min(680px, 100%);

    max-height: calc(100vh - 48px);

    overflow: auto;

    border-radius: var(--radius);

    background: #EEF3F7;

    box-shadow: 0 34px 110px rgba(9, 47, 136, .3);

}



.receipt-preview {

    display: grid;

    place-items: center;

    padding: 24px;

    background: #EEF3F7;

}



.transfer-receipt-card {

    width: min(540px, 100%);

    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: 24px;

    background: #fff;

    box-shadow: 0 12px 0 #D5E0E7;

    color: #183242;

    font-family: Inter, Arial, sans-serif;

}



.transfer-receipt-header {

    position: relative;

    display: flex;

    justify-content: space-between;

    min-height: 118px;

    padding: 28px 36px 22px;

    background: #123348;

    color: #fff;

}



.transfer-receipt-header::after {

    position: absolute;

    right: 0;

    bottom: -10px;

    left: 0;

    height: 20px;

    background: #10A66A;

    content: "";

}



.transfer-receipt-header strong {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    font-size: 2rem;

    font-weight: 600;

}



.transfer-receipt-header strong::after {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #10A66A;

    content: "";

}



.transfer-receipt-header span {

    display: block;

    margin-top: 12px;

    color: #BDD0DA;

    font-size: .84rem;

    font-weight: 700;

    text-transform: uppercase;

}



.receipt-header-meta {

    text-align: right;

}



.receipt-header-meta b {

    display: block;

    margin-top: 8px;

    font-size: .98rem;

    text-transform: uppercase;

}



.receipt-success {

    display: grid;

    justify-items: center;

    gap: 7px;

    padding: 0 36px 22px;

    text-align: center;

}



.receipt-check {

    display: grid;

    width: 92px;

    height: 92px;

    margin-top: -38px;

    place-items: center;

    border: 18px solid #E6F7F0;

    border-radius: 50%;

    background: #10A66A;

    color: #fff;

}



.receipt-check svg {

    width: 46px;

    height: 46px;

}



.receipt-success p {

    margin: 10px 0 0;

    color: #10A66A;

    font-size: .98rem;

    font-weight: 750;

    letter-spacing: .03em;

    text-transform: uppercase;

}



.receipt-success h2 {

    margin: 0;

    color: #123348;

    font-size: 3.1rem;

    font-weight: 500;

}



.receipt-success span {

    color: #667D8A;

}



.receipt-divider {

    height: 1px;

    margin: 0 36px 20px;

    background: #DDE7EC;

}



.receipt-details {

    display: grid;

    gap: 10px;

    padding: 0 36px 18px;

}



.receipt-details h3 {

    margin: 0 0 2px;

    color: #234D63;

    font-size: .9rem;

    letter-spacing: .04em;

    text-transform: uppercase;

}



.receipt-account {

    display: grid;

    gap: 7px;

    min-height: 78px;

    border-radius: 18px;

    padding: 16px 20px;

    border-left: 7px solid #234D63;

    background: #F5F8FA;

}



.receipt-account.destination {

    border-left-color: #10A66A;

    background: #E6F7F0;

}



.receipt-account span,

.receipt-info-grid span,

.receipt-verification span {

    color: #667D8A;

    font-size: .72rem;

    font-weight: 800;

    text-transform: uppercase;

}



.receipt-account.destination span {

    color: #10A66A;

}



.receipt-account strong {

    color: #183242;

    font-size: 1.05rem;

}



.receipt-account small {

    color: #667D8A;

    font-size: .86rem;

}



.receipt-flow-arrow {

    color: #10A66A;

    font-size: 1.8rem;

    font-weight: 900;

    line-height: 1;

    text-align: center;

}



.receipt-info-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

}



.receipt-info-grid div {

    display: grid;

    gap: 8px;

    min-height: 62px;

    padding: 12px;

    border-radius: 14px;

    background: #F5F8FA;

}



.receipt-info-grid strong {

    color: #183242;

    font-size: .98rem;

}



.receipt-verification {

    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 54px;

    padding: 12px 16px;

    border-radius: 16px;

    background: #E6F7F0;

}



.mini-check {

    display: grid;

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    place-items: center;

    border-radius: 50%;

    background: #10A66A;

    color: #fff;

}



.mini-check svg {

    width: 18px;

    height: 18px;

}



.receipt-verification strong {

    display: block;

    color: #183242;

    font-size: 1rem;

}



.receipt-footer {

    display: grid;

    gap: 4px;

    padding: 0 36px 16px;

    color: #667D8A;

    font-size: .72rem;

    text-align: center;

}



.receipt-footer strong {

    color: #234D63;

}



.profile-actions-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

}



.profile-action-card {

    display: grid;

    gap: 10px;

    min-height: 148px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255,255,255,.86);

    color: var(--text);

    cursor: pointer;

    text-align: left;

    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;

}



.profile-action-card:disabled {

    cursor: not-allowed;

    opacity: .72;

}



.profile-action-card span,

.security-overview-card span {

    display: grid;

    width: 40px;

    height: 40px;

    place-items: center;

    border-radius: var(--radius);

    background: #EEF5FF;

    color: var(--brand-secondary);

}



.security-overview-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

}



.security-overview-card {

    display: grid;

    gap: 8px;

    min-height: 142px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255,255,255,.84);

}



.security-overview-card.protected {

    border-color: rgba(2, 138, 88, .24);

    background: #F0FBF6;

}



.security-overview-card.protected span {

    background: #E8F7EF;

    color: var(--brand-primary);

}



.skeleton-stack {

    display: grid;

    gap: 18px;

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: rgba(255,255,255,.78);

}



.skeleton-stack.compact {

    padding: 16px;

}



.skeleton-line,

.skeleton-grid span {

    min-height: 22px;

    border-radius: var(--radius);

    background: linear-gradient(90deg, #EDF3F8 0%, #F8FBFD 50%, #EDF3F8 100%);

    background-size: 200% 100%;

    animation: skeleton-wave 1.25s ease-in-out infinite;

}



.skeleton-line.wide {

    width: min(480px, 100%);

    min-height: 34px;

}



.skeleton-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

}



.skeleton-grid span {

    min-height: 152px;

}



@keyframes skeleton-wave {

    to { background-position: -200% 0; }

}



@media (max-width: 980px) {

    .finance-intelligence,

    .movement-filters,

    .security-overview-grid {

        grid-template-columns: 1fr;

    }



    .movement-table-head {

        display: none;

    }



    .movement-table-row {

        grid-template-columns: 1fr;

    }



    .transfer-layout,

    .transfer-form-grid,

    .inline-field-action {

        grid-template-columns: 1fr;

    }



    .transfer-summary-card {

        position: static;

    }

}



@media (max-width: 620px) {

    .profile-actions-grid,

    .skeleton-grid {

        grid-template-columns: 1fr;

    }

}



.loan-simulator {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 18px;

}



.loan-alert {

    grid-column: 1 / -1;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 12px 14px;

    font-weight: 800;

}



.loan-alert.success { border-color: rgba(2, 138, 88, .28); background: rgba(2, 138, 88, .08); color: #026D49; }

.loan-alert.warning { border-color: rgba(245, 158, 11, .36); background: rgba(245, 158, 11, .1); color: #8A4B00; }

.loan-alert.danger { border-color: rgba(180, 35, 24, .28); background: rgba(180, 35, 24, .08); color: var(--danger); }



.loan-card {

    display: grid;

    gap: 18px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    padding: 22px;

}



.loan-card-main { min-width: 0; }

.loan-product-card { align-self: start; background: #F8FAFC; }

.loan-result-card, .loan-table-card { grid-column: 1 / -1; }



.loan-section-title { display: grid; gap: 4px; }

.loan-section-title span {

    color: var(--text-muted);

    font-size: .78rem;

    font-weight: 800;

    text-transform: uppercase;

}

.loan-section-title strong {

    color: var(--brand-secondary);

    font-size: 1.25rem;

}



.loan-form-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

}



.loan-field {

    display: grid;

    gap: 7px;

    color: var(--text-muted);

    font-weight: 800;

}



.loan-field-wide { grid-column: 1 / -1; }

.loan-amount-input { color: var(--brand-secondary); font-weight: 900; }



.loan-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    justify-content: flex-end;

}



.loan-product-grid, .loan-result-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

}



.loan-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }



.loan-product-grid div, .loan-result-grid div {

    display: grid;

    gap: 5px;

    min-height: 74px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    padding: 12px;

}



.loan-product-grid span, .loan-result-grid span {

    color: var(--text-muted);

    font-size: .82rem;

    font-weight: 800;

}



.loan-product-grid strong, .loan-result-grid strong {

    color: var(--brand-secondary);

    font-size: 1rem;

}



.loan-simulator .form-control,

.loan-simulator .form-select,

.loan-simulator .input-control {

    min-height: 42px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    color: var(--text);

    box-shadow: none;

    font-size: 1rem;

}



.loan-simulator .button:disabled {

    cursor: not-allowed;

    opacity: .55;

}



.loan-table-card .table-wrap {

    overflow-x: auto;

    border: 1px solid var(--border);

    border-radius: var(--radius);

}



.loan-table-card .app-table {

    width: 100%;

    border-collapse: collapse;

    background: #fff;

}



.loan-table-card .app-table th,

.loan-table-card .app-table td {

    padding: 12px 14px;

    border-bottom: 1px solid var(--border);

    text-align: left;

    white-space: nowrap;

}



.loan-table-card .app-table th {

    background: #F8FAFC;

    color: var(--brand-secondary);

    font-size: .82rem;

    text-transform: uppercase;

}



@media (max-width: 980px) {

    .loan-simulator {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 620px) {

    .loan-form-grid,

    .loan-product-grid,

    .loan-result-grid {

        grid-template-columns: 1fr;

    }



    .loan-actions .button {

        width: 100%;

    }

}



.product-detail-modal {

    width: min(980px, calc(100vw - 48px));

    max-height: calc(100vh - 56px);

    overflow: auto;

    border: 1px solid rgba(9, 47, 136, .18);

    border-radius: var(--radius);

    background: rgba(255, 255, 255, .98);

    box-shadow: 0 34px 110px rgba(9, 47, 136, .28);

    animation: page-enter 180ms ease both;

}



.product-detail-header {

    display: grid;

    grid-template-columns: 58px minmax(0, 1fr) auto;

    gap: 16px;

    align-items: center;

    padding: 22px 24px;

    border-bottom: 1px solid var(--border);

}



.product-detail-header h2,

.product-detail-header p,

.modal-movements h3 {

    margin: 0;

}



.product-detail-header p {

    margin-top: 4px;

    color: var(--text-muted);

}



.product-detail-icon {

    display: grid;

    width: 54px;

    height: 54px;

    place-items: center;

    border-radius: var(--radius);

    background: #EAF8F1;

    color: var(--brand-primary);

    font-weight: 900;

}



.product-detail-icon svg,

.promo-icon svg {

    width: 24px;

    height: 24px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}



.product-share-box {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 16px;

    align-items: center;

    margin: 22px 24px;

    padding: 18px;

    border: 1px solid rgba(2, 138, 88, .2);

    border-radius: var(--radius);

    background: #F0FBF6;

}



.product-share-box span,

.credit-detail-grid dt {

    color: var(--text-muted);

    font-size: .78rem;

    font-weight: 900;

    text-transform: uppercase;

}



.product-share-box strong {

    display: block;

    margin-top: 6px;

    color: var(--brand-secondary);

    font-size: 1.25rem;

    overflow-wrap: anywhere;

}



.product-share-box p {

    margin: 4px 0 0;

    color: var(--text);

    font-weight: 750;

}



.product-detail-actions {

    display: flex;

    justify-content: flex-end;

    padding: 0 24px 20px;

}



.modal-movements {

    display: grid;

    gap: 14px;

    padding: 0 24px 24px;

}



.modal-movement-list {

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

}



.modal-movement-row {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 16px;

    align-items: center;

    padding: 15px 18px;

    border-top: 1px solid var(--border);

}



.modal-movement-row:first-child {

    border-top: 0;

}



.modal-movement-row strong,

.modal-movement-row small,

.modal-movement-row b {

    display: block;

}



.modal-movement-row small {

    margin-top: 4px;

    color: var(--text-muted);

}



.modal-movement-row > div:last-child {

    text-align: right;

}



.credit-detail-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin: 0;

    padding: 24px;

}



.credit-detail-grid div {

    min-height: 88px;

    padding: 16px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #F8FAFC;

}



.credit-detail-grid dd {

    margin: 8px 0 0;

    color: var(--brand-secondary);

    font-size: 1.08rem;

    font-weight: 850;

}



.toast-host {

    position: fixed;

    right: 22px;

    bottom: 84px;

    z-index: 80;

    display: grid;

    gap: 12px;

    width: min(380px, calc(100vw - 44px));

    pointer-events: none;

}



.toast-item {

    display: grid;

    gap: 4px;

    padding: 14px 16px;

    border: 1px solid var(--border);

    border-left-width: 5px;

    border-radius: var(--radius);

    background: rgba(255, 255, 255, .98);

    box-shadow: 0 18px 48px rgba(9, 47, 136, .14);

    animation: toast-enter 180ms ease both;

    pointer-events: auto;

}



.toast-item strong {

    color: var(--brand-secondary);

}



.toast-item p {

    margin: 0;

    color: var(--text);

    font-weight: 650;

}



.toast-success { border-left-color: var(--brand-primary); }

.toast-error { border-left-color: var(--danger); }

.toast-warning { border-left-color: #C77700; }

.toast-info { border-left-color: var(--brand-secondary); }



@keyframes toast-enter {

    from {

        opacity: 0;

        transform: translateY(10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@media (max-width: 980px) {

    .movement-table {

        overflow-x: auto;

    }



    .movement-table-head,

    .movement-table-row {

        min-width: 860px;

    }

}



@media (max-width: 620px) {

    .confirm-transfer-summary div {

        grid-template-columns: 1fr;

        gap: 4px;

    }



    .confirm-modal-actions,

    .receipt-actions {

        flex-direction: column;

    }



    .receipt-preview {

        padding: 12px;

    }



    .transfer-receipt-card {

        width: min(540px, calc(100vw - 48px));

    }



    .transfer-receipt-header,

    .receipt-details,

    .receipt-footer {

        padding-right: 22px;

        padding-left: 22px;

    }



    .receipt-success h2 {

        font-size: 2.25rem;

    }



    .receipt-info-grid {

        grid-template-columns: 1fr;

    }



    .product-share-box,

    .product-detail-header,

    .credit-detail-grid,

    .modal-movement-row {

        grid-template-columns: 1fr;

    }



    .product-detail-actions,

    .modal-movement-row > div:last-child {

        justify-content: stretch;

        text-align: left;

    }

}



/* AWS-style banking console refactor */

:root {

    --brand-primary: #0972D3;

    --brand-primary-dark: #033160;

    --brand-secondary: #161D27;

    --brand-secondary-bright: #0972D3;

    --surface: #FFFFFF;

    --surface-muted: #FCFCFC;

    --surface-strong: #F2F3F3;

    --text: #161D27;

    --text-muted: #687078;

    --border: #D5DBDB;

    --danger: #D13212;

    --aws-header: #161D27;

    --aws-header-dark: #0F141A;

    --aws-hover: #F2F3F3;

    --aws-border-light: #E9EBED;

    --aws-border-strong: #AAB7B8;

    --aws-orange: #153b28;

    --aws-orange-hover: #EC7211;

    --aws-green: #037F0C;

    --aws-info-bg: #F0FBFF;

    --aws-error-bg: #FFF5F4;

    --aws-disabled: #ECEBF0;

    --radius: 10px;

}



html,

body {

    background: #FFFFFF;

}



body {

    color: var(--text);

    font-family: "Amazon Ember", "Helvetica Neue", Arial, sans-serif;

    font-size: calc(14px * var(--font-scale, 1));

    line-height: 1.4;

}



a {

    color: var(--brand-primary);

}



h1 {

    color: var(--text);

    font-size: 1.38rem;

    line-height: 1.25;

}



h2 {

    color: var(--text);

    font-size: 1.12rem;

}



.bank-console {

    min-height: 100vh;

    background: #FFFFFF;

}



.bank-topbar {

    position: sticky;

    top: 0;

    z-index: 900;

    display: flex;

    height: 42px;

    align-items: center;

    gap: 12px;

    padding: 0 12px;

    border-bottom: 1px solid var(--aws-header-dark);

    background: var(--aws-header);

    color: #FFFFFF;

}



.bank-topbar svg,

.bank-global-search svg {

    width: 17px;

    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}



.bank-topbar-brand,

.bank-topbar-brand a,

.bank-topbar-actions,

.bank-global-search {

    display: flex;

    align-items: center;

}



.bank-topbar-brand {

    gap: 8px;

    min-width: 210px;

}



.bank-topbar-brand a {

    gap: 8px;

    color: #FFFFFF;

    font-size: .92rem;

    font-weight: 700;

}



.bank-topbar-brand a:hover {

    text-decoration: none;

}



.bank-topbar-brand img {

    width: 26px;

    height: 26px;

    border-radius: 4px;

    object-fit: contain;

    background: #FFFFFF;

}



.bank-topbar-menu,

.bank-topbar-actions button {

    display: inline-grid;

    width: 30px;

    height: 30px;

    place-items: center;

    border: 0;

    border-radius: 4px;

    background: transparent;

    color: #FFFFFF;

    cursor: pointer;

}



.bank-topbar-menu:hover,

.bank-topbar-actions button:hover {

    background: rgba(255, 255, 255, .08);

}



.bank-global-search {

    width: min(430px, 36vw);

    height: 30px;

    gap: 8px;

    padding: 0 10px;

    border: 1px solid #7D8997;

    border-radius: 4px;

    color: #B6BEC9;

}



.bank-global-search input {

    min-width: 0;

    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #FFFFFF;

    font-size: .92rem;

}



.bank-global-search:focus-within {

    border-color: #FFFFFF;

    box-shadow: 0 0 0 1px #FFFFFF;

}



.bank-topbar-actions {

    margin-left: auto;

    gap: 2px;

    font-size: .84rem;

}



.bank-region,

.bank-user {

    display: inline-flex;

    min-height: 30px;

    align-items: center;

    padding: 0 10px;

    border-left: 1px solid rgba(255, 255, 255, .12);

    color: #FFFFFF;

}



.bank-user {

    font-weight: 700;

}



.bank-shell {

    min-height: calc(100vh - 42px);

    grid-template-columns: 235px minmax(0, 1fr);

    background: #FFFFFF;

}



.bank-sidebar {

    height: calc(100vh - 42px);

    padding: 14px 0;

    border-right: 1px solid var(--border);

    background: #FFFFFF;

    overflow-y: auto;

}



.bank-main {

    overflow: visible;

    background: #FFFFFF;

}



.bank-main::before {

    content: none;

}



.bank-content {

    width: 100%;

    min-height: calc(100vh - 74px);

    padding: 20px 24px 52px;

    animation: none;

}



.bank-footer {

    min-height: 32px;

    padding: 0 18px;

    gap: 22px;

    align-items: center;

    border-top: 1px solid var(--aws-border-light);

    background: var(--aws-header);

    font-size: .82rem;

}



.bank-footer a {

    color: #FFFFFF;

}



.brand-block {

    gap: 10px;

    margin: 0 14px 18px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--aws-border-light);

}



.brand-mark {

    width: 42px;

    height: 42px;

    border-color: var(--border);

    border-radius: 8px;

}



.brand-mark img {

    object-fit: contain;

}



.brand-block strong {

    color: var(--text);

    font-size: .96rem;

}



.brand-block small,

.sidebar-profile small,

.panel-note {

    color: var(--text-muted);

}



.sidebar-profile {

    margin: 0 14px 14px;

    padding: 0 0 14px;

    border-bottom: 1px solid var(--aws-border-light);

}



.profile-avatar {

    width: 36px;

    height: 36px;

    background: var(--aws-disabled);

    color: var(--text-muted);

}



.sidebar-profile strong {

    max-width: 155px;

    color: var(--text);

    font-size: .86rem;

    font-weight: 700;

}



.profile-link {

    color: var(--brand-primary);

    font-size: .82rem;

}



.nav-menu {

    gap: 0;

}



.nav-section-title {

    padding: 12px 18px 5px;

    color: var(--text);

    font-size: .86rem;

    font-weight: 700;

}



.nav-link,

.nav-sublink {

    min-height: 32px;

    gap: 10px;

    padding: 5px 18px;

    border-radius: 0;

    color: #414D5C;

    font-size: .88rem;

    font-weight: 400;

    transition: background-color .15s ease, color .15s ease;

}



.nav-link:hover,

.nav-link.active {

    background: var(--aws-hover);

    color: var(--brand-primary);

    transform: none;

}



.nav-link.active {

    border-left: 3px solid var(--brand-primary);

    padding-left: 15px;

    font-weight: 700;

}



.nav-icon {

    width: 18px;

    height: 18px;

    flex-basis: 18px;

    color: currentColor;

}



.nav-icon svg,

.nav-subicon svg {

    width: 18px;

    height: 18px;

    stroke-width: 2;

}



.page-header {

    align-items: center;

    gap: 16px;

    margin-bottom: 18px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--aws-border-light);

}



.page-header h1,

.home-hero h1 {

    margin: 0;

    color: var(--text);

    font-size: 1.38rem;

    font-weight: 700;

}



.eyebrow {

    color: var(--text-muted);

    font-size: .78rem;

    font-weight: 700;

    text-transform: uppercase;

}



.button {

    min-height: 32px;

    padding: 0 16px;

    border-radius: 18px;

    font-size: .86rem;

    font-weight: 700;

}



.button-primary {

    border: 1px solid var(--aws-orange);

    background: var(--aws-orange);

    color: var(--text);

}



.button-primary:hover,

.button-primary:focus-visible {

    border-color: var(--aws-orange-hover);

    background: var(--aws-orange-hover);

}



.button-secondary {

    border: 2px solid var(--brand-primary);

    background: #FFFFFF;

    color: var(--brand-primary);

}



.button-secondary:hover,

.button-secondary:focus-visible {

    border-color: var(--brand-primary-dark);

    background: #F2F8FD;

    color: var(--brand-primary-dark);

}



.button:disabled,

.button-primary:disabled,

.button-secondary:disabled {

    border-color: var(--aws-disabled);

    background: var(--aws-disabled);

    color: #8D99A6;

    cursor: not-allowed;

    opacity: 1;

}



.icon-button {

    width: 32px;

    height: 32px;

    border: 2px solid var(--brand-primary);

    border-radius: 50%;

    color: var(--brand-primary);

    box-shadow: none;

}



.icon-button:hover {

    border-color: var(--brand-primary-dark);

    background: #F2F8FD;

    color: var(--brand-primary-dark);

    transform: none;

}



.icon-button svg {

    width: 18px;

    height: 18px;

}



.panel,

.account-card,

.promo-card,

.credit-product-card,

.category-card,

.request-card,

.quick-tile,

.transfer-row,

.contact-row,

.payment-row,

.finance-card,

.loan-card,

.security-card,

.security-overview-card,

.profile-action-card {

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #FFFFFF;

    box-shadow: none;

}



.panel {

    padding: 16px 18px;

}



.panel-header {

    gap: 12px;

    margin-bottom: 14px;

}



.finance-intelligence {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

}



.finance-card,

.finance-card-main {

    min-height: 112px;

    background: #FFFFFF;

}



.finance-card:hover,

.profile-action-card:hover:not(:disabled),

.account-card:hover,

.request-card-link:hover {

    border-color: var(--aws-border-strong);

    box-shadow: none;

    transform: none;

}



.finance-card strong {

    color: var(--text);

    font-size: 1.08rem;

}



.finance-icon,

.movement-icon,

.promo-icon,

.payment-icon,

.request-card-icon {

    width: 36px;

    height: 36px;

    border-radius: 8px;

    background: var(--aws-info-bg);

    color: var(--brand-primary);

}



.request-card-icon svg,

.finance-icon svg,

.profile-action-card svg,

.security-overview-card svg,

.promo-icon svg {

    width: 20px;

    height: 20px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}



.product-strip,

.product-grid {

    gap: 16px;

}



.account-card {

    min-height: 138px;

    padding: 16px;

}



.account-card-header {

    margin-bottom: 12px;

}



.account-balance strong,

.credit-product-card b {

    margin-top: 6px;

    color: var(--text);

    font-size: 1.45rem;

}



.account-number {

    color: var(--brand-primary-dark);

    background: #FFFFFF;

}



.segment-pill {

    min-height: 32px;

    padding: 0 16px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: #FFFFFF;

    color: var(--brand-primary);

    font-size: .86rem;

}



.segment-pill.active,

.segment-pill:hover {

    border-color: var(--brand-primary);

    background: #F2F8FD;

    color: var(--brand-primary-dark);

}



.input-control,

.select-control,

.login-input,

.loan-simulator .input-control,

.loan-simulator .form-control,

.loan-simulator .form-select {

    min-height: 32px;

    height: 32px;

    border: 1px solid var(--aws-border-strong);

    border-radius: 4px;

    background: #FFFFFF;

    color: var(--text);

    padding: 0 10px;

    font-size: .92rem;

    font-weight: 400;

}



.input-control:focus,

.select-control:focus,

.login-input:focus,

.loan-simulator .input-control:focus {

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 1px var(--brand-primary);

}



.input-control:disabled,

.select-control:disabled,

.login-input:disabled {

    border-color: var(--aws-disabled);

    background: var(--aws-disabled);

    color: #8D99A6;

}



.field,

.loan-field,

.login-field {

    gap: 6px;

    color: var(--text);

    font-size: .86rem;

    font-weight: 700;

}



.inline-warning,

.loan-alert.danger {

    border: 2px solid var(--danger);

    border-radius: 10px;

    background: var(--aws-error-bg);

    color: var(--text);

}



.inline-success,

.loan-alert.success,

.validated-account {

    border: 1px solid rgba(3, 127, 12, .35);

    background: #F2FCF3;

    color: var(--aws-green);

}



.movement-table {

    overflow-x: auto;

    border-radius: 0;

}



.movement-table-head,

.movement-table-row {

    min-height: 40px;

    padding: 8px 12px;

    border-bottom: 1px solid var(--aws-border-light);

}



.movement-table-head {

    border-bottom-color: var(--aws-border-strong);

    background: #FFFFFF;

    color: #414D5C;

    font-size: .82rem;

}



.movement-table-row:hover {

    background: #F7F8F8;

}



.loan-simulator {

    gap: 16px;

}



.loan-card {

    padding: 16px;

}



.loan-section-title strong {

    color: var(--text);

    font-size: 1.12rem;

}



.loan-product-grid div,

.loan-result-grid div {

    min-height: 62px;

    border-color: var(--border);

    border-radius: 8px;

    background: #FFFFFF;

}



.loan-table-card .table-wrap {

    border-radius: 0;

}



.loan-table-card .app-table th,

.loan-table-card .app-table td {

    padding: 9px 12px;

    font-size: .88rem;

}



.loan-table-card .app-table th {

    background: #FFFFFF;

    color: #414D5C;

}



.modal-backdrop,

.personalization-overlay {

    background: rgba(15, 20, 26, .46);

    backdrop-filter: none;

}



.confirm-modal,

.savings-modal,

.product-detail-modal,

.personalization-window {

    border-color: var(--border);

    border-radius: 12px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);

}



.request-grid-small {

    grid-template-columns: repeat(2, minmax(260px, 1fr));

}



.request-card {

    min-height: 136px;

    padding: 16px;

}



.request-card-link {

    grid-template-columns: 42px minmax(0, 1fr);

    align-items: start;

    color: var(--text);

}



.request-card-link strong,

.request-card-link p {

    grid-column: 2;

}



.request-card-link p {

    margin: 0;

    color: var(--text-muted);

}



.login-page {

    background: #FFFFFF;

}



.login-shell {

    background: #FFFFFF;

    position: relative;

    overflow: hidden;

}



.login-shell::before,

.bank-main::after {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background-image: url("resources/imgs/GarancheckLP (1).png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: min(58vw, 820px) auto;

    opacity: .075;

    z-index: 0;

}



.login-trust-panel,

.login-access-panel,

.bank-content,

.bank-footer {

    position: relative;

    z-index: 1;

}



.bank-main::after {

    position: absolute;

    background-size: min(50vw, 720px) auto;

    opacity: .065;

}



.login-trust-panel {

    border-right: 1px solid var(--aws-border-light);

}



.login-brand-logo {

    width: 170px;

    height: 170px;

    object-fit: contain;

    box-shadow: none;

}



.login-trust-copy h1,

.login-form-header h1,

.login-copy h1 {

    color: var(--text);

}



.login-access-panel {

    background: #FCFCFC;

}



.login-access-card,

.login-card {

    border-color: var(--border);

    border-radius: 12px;

    box-shadow: none;

}



.login-submit {

    min-height: 32px;

    border-color: var(--aws-orange);

    background: var(--aws-orange);

    color: var(--text);

    box-shadow: none;

}



.login-submit:hover,

.login-submit:focus-visible {

    border-color: var(--aws-orange-hover);

    background: var(--aws-orange-hover);

    box-shadow: none;

    transform: none;

}



.login-password-toggle,

.password-toggle {

    height: 26px;

    border-radius: 4px;

    background: var(--aws-hover);

    color: var(--brand-primary-dark);

}



.login-motion-lines {

    bottom: 28px;

    height: 116px;

}



.login-motion-lines span {

    height: 2px;

}



.login-motion-lines span:nth-child(1) { top: 4px; width: 108%; background: linear-gradient(90deg, transparent 0%, #037F0C 12%, #037F0C 88%, transparent 100%); }

.login-motion-lines span:nth-child(2) { top: 18px; width: 104%; background: linear-gradient(90deg, transparent 0%, #0972D3 12%, #0972D3 88%, transparent 100%); }

.login-motion-lines span:nth-child(3) { top: 32px; width: 110%; background: linear-gradient(90deg, transparent 0%, #D5DBDB 12%, #D5DBDB 88%, transparent 100%); opacity: .9; }

.login-motion-lines span:nth-child(4) { top: 46px; width: 106%; background: linear-gradient(90deg, transparent 0%, #153b28 12%, #153b28 88%, transparent 100%); }

.login-motion-lines span:nth-child(5) { top: 60px; width: 112%; background: linear-gradient(90deg, transparent 0%, #033160 12%, #033160 88%, transparent 100%); }

.login-motion-lines span:nth-child(6) { top: 74px; width: 102%; background: linear-gradient(90deg, transparent 0%, #AAB7B8 12%, #AAB7B8 88%, transparent 100%); opacity: .85; }

.login-motion-lines span:nth-child(7) { top: 88px; width: 114%; background: linear-gradient(90deg, transparent 0%, #037F0C 12%, #037F0C 88%, transparent 100%); opacity: .75; }

.login-motion-lines span:nth-child(8) { top: 102px; width: 106%; background: linear-gradient(90deg, transparent 0%, #0972D3 12%, #0972D3 88%, transparent 100%); opacity: .75; }



@media (prefers-reduced-motion: no-preference) {

    .login-motion-lines span:nth-child(5) { animation: login-line-flow 9.8s -3.2s linear infinite; }

    .login-motion-lines span:nth-child(6) { animation: login-line-flow 11.2s -6.4s linear infinite; }

    .login-motion-lines span:nth-child(7) { animation: login-line-flow 8.6s -2.1s linear infinite; }

    .login-motion-lines span:nth-child(8) { animation: login-line-flow 10.7s -7.3s linear infinite; }

}



.processing-modal-overlay {

    position: fixed !important;

    inset: 0 !important;

    z-index: 2147483000;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 24px;

    background: rgba(242, 243, 243, .9);

    opacity: 0;

    pointer-events: none;

    visibility: hidden;

    transition: opacity 380ms ease, visibility 380ms ease;

}



.processing-modal-overlay.visible {

    opacity: 1;

    pointer-events: auto;

    visibility: visible;

}



.processing-modal-card {

    display: grid;

    position: static !important;

    left: auto !important;

    top: auto !important;

    margin: auto !important;

    width: min(720px, calc(100vw - 64px));

    min-height: 164px;

    justify-items: center;

    align-content: center;

    gap: 24px;

    padding: 34px 48px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: #fff;

    box-shadow: 0 12px 28px rgba(15, 20, 26, .22);

    overflow: hidden;

    opacity: 0;

    transform: translateY(18px) scale(.94);

    transition: transform 460ms cubic-bezier(.16, 1, .3, 1), opacity 420ms ease;

}



.processing-modal-overlay.visible .processing-modal-card {

    opacity: 1;

    transform: translateY(0) scale(1);

}



.processing-modal-visual {

    display: grid;

    min-height: 78px;

    place-items: center;

    animation: processing-visual-enter 460ms cubic-bezier(.16, 1, .3, 1) both;

}



.processing-modal-card::before,

.processing-modal-card::after {

    content: "";

    position: absolute;

    left: -35%;

    right: -35%;

    height: 2px;

    background: linear-gradient(90deg, transparent 0%, #214a7a 18%, #00966f 48%, #dddcef 72%, transparent 100%);

    opacity: .72;

    animation: processing-border-line 2.4s linear infinite;

}



.processing-modal-card::before {

    top: 0;

}



.processing-modal-card::after {

    bottom: 0;

    animation-delay: -1.2s;

}



.processing-modal-spinner {

    position: relative;

    width: 78px;

    height: 78px;

    animation: processing-modal-spin 1.05s linear infinite;

}



.processing-modal-orbit {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background: conic-gradient(from 0deg, transparent 0deg 24deg, var(--processing-modal-color) 24deg 78deg, transparent 78deg 184deg, var(--processing-modal-color) 184deg 238deg, transparent 238deg 360deg);

    mask: radial-gradient(farthest-side, transparent calc(100% - var(--processing-modal-track) - 1px), #000 calc(100% - var(--processing-modal-track)), #000 calc(100% - 1px), transparent 100%);

    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--processing-modal-track) - 1px), #000 calc(100% - var(--processing-modal-track)), #000 calc(100% - 1px), transparent 100%);

}



.processing-modal-orbit-primary {

    --processing-modal-color: #214a7a;

    --processing-modal-track: 6px;

    inset: 5px;

    transform: rotate(16deg);

}



.processing-modal-orbit-secondary {

    --processing-modal-color: #00966f;

    --processing-modal-track: 6px;

    inset: 14px;

    transform: rotate(74deg);

}



.processing-modal-orbit-muted {

    --processing-modal-color: #dddcef;

    --processing-modal-track: 6px;

    inset: 25px;

    transform: rotate(132deg);

}



.processing-modal-card p {

    margin: 0;

    color: #66666f;

    font-size: 1.52rem;

    font-weight: 400;

    line-height: 1.2;

    text-align: center;

}



.processing-modal-message {

    animation: processing-message-enter 420ms ease both;

}



@keyframes processing-modal-spin {

    to {

        transform: rotate(360deg);

    }

}



@keyframes processing-border-line {

    from {

        transform: translateX(-28%);

    }



    to {

        transform: translateX(28%);

    }

}



@keyframes processing-visual-enter {

    from {

        opacity: 0;

        transform: translateY(8px) scale(.88);

        filter: blur(2px);

    }



    to {

        opacity: 1;

        transform: translateY(0) scale(1);

        filter: blur(0);

    }

}



@keyframes processing-message-enter {

    from {

        opacity: 0;

        transform: translateY(7px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.toast-host {

    bottom: 44px;

}



* {

    scrollbar-width: thin;

    scrollbar-color: var(--aws-border-strong) transparent;

}



*::-webkit-scrollbar {

    width: 10px;

    height: 10px;

}



*::-webkit-scrollbar-track {

    background: transparent;

}



*::-webkit-scrollbar-thumb {

    border: 3px solid transparent;

    border-radius: 10px;

    background: var(--aws-border-strong);

    background-clip: padding-box;

}



@media (max-width: 1100px) {

    .bank-global-search {

        width: min(360px, 30vw);

    }



    .finance-intelligence,

    .product-strip,

    .product-grid,

    .home-grid,

    .loan-simulator,

    .transfer-layout {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 760px) {

    .bank-topbar {

        gap: 6px;

    }



    .bank-topbar-brand {

        min-width: auto;

    }



    .bank-topbar-brand span,

    .bank-region {

        display: none;

    }



    .bank-global-search {

        width: 100%;

    }



    .bank-shell {

        grid-template-columns: 1fr;

    }



    .bank-sidebar {

        position: relative;

        height: auto;

        border-right: 0;

        border-bottom: 1px solid var(--border);

    }



    .bank-content {

        padding: 16px;

    }



    .request-grid-small,

    .request-card-link {

        grid-template-columns: 1fr;

    }



    .request-card-link strong,

    .request-card-link p {

        grid-column: auto;

    }

}



/* Post-refactor Garancore adjustments */
:root {
    --brand-primary: #153b28;
    --brand-primary-dark: #153b28;
    --aws-orange: #153b28;
    --aws-orange-hover: #0f2f1f;
    --warm-green-surface: #f2f8f4;
    --warm-green-border: #9fc9ad;
}

html {
    font-size: 103%;
}

.button-primary,
.login-submit,
.security-form .button-primary {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #153b28;
    border-radius: 999px;
    background: #153b28;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(21, 59, 40, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
}

.button-primary:hover,
.button-primary:focus-visible,
.login-submit:hover,
.login-submit:focus-visible,
.security-form .button-primary:hover,
.security-form .button-primary:focus-visible {
    border-color: #0d261a;
    background: #0d261a;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(21, 59, 40, 0.35);
    transform: translateY(-1px);
}

.button:disabled,
.button-primary:disabled,
.login-submit:disabled,
.security-form .button-primary:disabled {
    border-color: #cbd5e1;
    background: #e2e8f0;
    color: #94a3b8 !important;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    opacity: 0.85;
}

.login-brand-logo {
    width: 340px;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto;
}

.login-motion-lines {
    bottom: 8px;
    height: 72px;
}

.login-motion-lines span {
    height: 3px;
}

/* Width increased by 15% and shifted lower to avoid overlapping with login card */
.login-motion-lines span:nth-child(1) { top: 2px; width: 140%; background: linear-gradient(90deg, transparent 0%, #153b28 10%, #153b28 90%, transparent 100%); }
.login-motion-lines span:nth-child(2) { top: 11px; width: 136%; background: linear-gradient(90deg, transparent 0%, #0972D3 10%, #0972D3 90%, transparent 100%); }
.login-motion-lines span:nth-child(3) { top: 20px; width: 143%; background: linear-gradient(90deg, transparent 0%, #D5DBDB 10%, #D5DBDB 90%, transparent 100%); opacity: .9; }
.login-motion-lines span:nth-child(4) { top: 29px; width: 138%; background: linear-gradient(90deg, transparent 0%, #153b28 10%, #153b28 90%, transparent 100%); }
.login-motion-lines span:nth-child(5) { top: 38px; width: 145%; background: linear-gradient(90deg, transparent 0%, #033160 10%, #033160 90%, transparent 100%); }
.login-motion-lines span:nth-child(6) { top: 47px; width: 133%; background: linear-gradient(90deg, transparent 0%, #AAB7B8 10%, #AAB7B8 90%, transparent 100%); opacity: .85; }
.login-motion-lines span:nth-child(7) { top: 56px; width: 147%; background: linear-gradient(90deg, transparent 0%, #153b28 10%, #153b28 90%, transparent 100%); opacity: .85; }
.login-motion-lines span:nth-child(8) { top: 65px; width: 138%; background: linear-gradient(90deg, transparent 0%, #0972D3 10%, #0972D3 90%, transparent 100%); opacity: .85; }

.bank-topbar {
    grid-template-columns: auto 1fr;
}

.bank-topbar-actions {
    justify-self: end;
}

.bank-global-search {
    display: none;
}

.bank-notifications {
    position: relative;
}

.bank-notifications > button {
    position: relative;
}

.notification-dot {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #2ea043;
    box-shadow: 0 0 0 2px #161D27;
}

.notification-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1400;
    width: min(320px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 18px rgba(15, 20, 26, .18);
}

.notification-panel h2 {
    margin: 0 0 8px;
    font-size: .9rem;
}

.notification-panel p {
    margin: 0;
    color: var(--text-muted);
}

.notification-panel article {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid var(--aws-border-light);
}

.notification-panel article:first-of-type {
    border-top: 0;
}

.notification-panel span,
.notification-panel small {
    color: var(--text-muted);
    font-size: .78rem;
}

.account-card,
.finance-card {
    transform-origin: center;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.account-card:hover {
    border-color: var(--warm-green-border);
    background: var(--warm-green-surface);
    transform: scale(1.025);
}

.credit-print-area {
    display: grid;
    gap: 18px;
}

.credit-amortization {
    display: grid;
    gap: 12px;
}

.credit-amortization .panel-header {
    padding: 0;
    border: 0;
}

.credit-amortization-table {
    min-width: 980px;
}

.credit-amortization-table th,
.credit-amortization-table td {
    white-space: nowrap;
}

.credit-amortization .table-scroll {
    max-height: min(430px, calc(100vh - 360px));
    overflow: auto;
}

.credit-table-backdrop {
    z-index: 1200;
}

.credit-table-modal {
    width: min(1120px, calc(100vw - 56px));
    max-height: calc(100vh - 56px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.credit-table-body {
    min-height: 0;
    overflow: hidden;
    padding: 18px 22px 22px;
    display: grid;
    gap: 12px;
}

.credit-table-body .panel-header {
    padding: 0;
    border: 0;
}

.credit-table-body .table-scroll {
    max-height: calc(100vh - 230px);
    overflow: auto;
    border: 1px solid var(--border-light);
}

/* Centered Global Processing Modal */
.processing-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483647 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.processing-modal-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: auto !important;
    width: min(400px, calc(100vw - 48px)) !important;
    min-height: 140px !important;
    padding: 28px 32px !important;
    gap: 14px !important;
    border: 1px solid #D5DBDB !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 36px rgba(15, 20, 26, 0.16) !important;
    overflow: hidden !important;
    text-align: center !important;
    animation: processing-card-pop 280ms cubic-bezier(.16, 1, .3, 1) both !important;
}

.processing-modal-visual {
    display: grid;
    min-height: 64px;
    place-items: center;
}

.processing-modal-spinner {
    position: relative;
    width: 64px;
    height: 64px;
    animation: processing-modal-spin 1.05s linear infinite;
}

.processing-modal-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg 24deg, var(--processing-modal-color) 24deg 78deg, transparent 78deg 184deg, var(--processing-modal-color) 184deg 238deg, transparent 238deg 360deg);
    mask: radial-gradient(farthest-side, transparent calc(100% - var(--processing-modal-track) - 1px), #000 calc(100% - var(--processing-modal-track)), #000 calc(100% - 1px), transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--processing-modal-track) - 1px), #000 calc(100% - var(--processing-modal-track)), #000 calc(100% - 1px), transparent 100%);
}

.processing-modal-orbit-primary {
    --processing-modal-color: #214a7a;
    --processing-modal-track: 5px;
    inset: 3px;
    transform: rotate(16deg);
}

.processing-modal-orbit-secondary {
    --processing-modal-color: #00966f;
    --processing-modal-track: 5px;
    inset: 10px;
    transform: rotate(74deg);
}

.processing-modal-orbit-muted {
    --processing-modal-color: #dddcef;
    --processing-modal-track: 5px;
    inset: 17px;
    transform: rotate(132deg);
}

.processing-modal-card p,
.processing-modal-message {
    margin: 0 !important;
    color: #1e293b !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.processing-modal-success {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 3px solid #153b28;
    border-radius: 50%;
    background: #f2f8f4;
    color: #153b28;
}

.processing-modal-success svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #153b28;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: processing-success-pop 360ms cubic-bezier(.16, 1, .3, 1) both;
}

.processing-modal-success + p {
    color: #153b28 !important;
    font-weight: 700 !important;
}

@keyframes processing-modal-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes processing-card-pop {
    from {
        opacity: 0;
        transform: scale(.94) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes processing-success-pop {
    from {
        opacity: 0;
        transform: scale(.6) rotate(-30deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@media (max-width: 620px) {
    .processing-modal-card {
        width: calc(100vw - 32px) !important;
        padding: 22px !important;
    }
}


/* Standardized Modern Toast Styles */
.toast-host {
    position: fixed !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2147483647 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: min(460px, calc(100vw - 32px)) !important;
    pointer-events: none !important;
}

.toast-item {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 14px 34px -6px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    pointer-events: auto !important;
    animation: toast-slide-down 280ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
    position: relative !important;
    overflow: hidden !important;
}

.toast-success {
    border-left: 5px solid #153b28 !important;
}
.toast-success .toast-icon-wrap {
    background: #ecfdf5 !important;
    color: #153b28 !important;
}
.toast-success .toast-title {
    color: #153b28 !important;
}

.toast-error {
    border-left: 5px solid #dc2626 !important;
}
.toast-error .toast-icon-wrap {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}
.toast-error .toast-title {
    color: #991b1b !important;
}

.toast-warning {
    border-left: 5px solid #d97706 !important;
}
.toast-warning .toast-icon-wrap {
    background: #fffbeb !important;
    color: #d97706 !important;
}
.toast-warning .toast-title {
    color: #92400e !important;
}

.toast-info {
    border-left: 5px solid #2563eb !important;
}
.toast-info .toast-icon-wrap {
    background: #eff6ff !important;
    color: #2563eb !important;
}
.toast-info .toast-title {
    color: #1e40af !important;
}

.toast-icon-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.toast-icon {
    width: 20px !important;
    height: 20px !important;
}

.toast-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}

.toast-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.toast-message {
    margin: 0 !important;
    color: #334155 !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
}

.toast-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    flex-shrink: 0 !important;
}

.toast-close:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

@keyframes toast-slide-down {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Banknote Movement Badges */
.movement-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.movement-icon.income {
    background: #ecfdf5 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.movement-icon.outcome,
.movement-icon.expense {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

.movement-icon .movement-svg {
    width: 26px !important;
    height: 26px !important;
    display: block !important;
}

.modal-movement-row {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 14px 18px !important;
    border-top: 1px solid var(--border) !important;
}
