/* =========================================================
   GLOBAL BANK — COMPLETE STYLE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #17365d;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}


/* =========================================================
   FRONT PAGE
========================================================= */

.front-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

.top-header {
    height: 58px;
    background: #ffffff;
    border-bottom: 1px solid #e5e9ed;
}

.header-container {
    width: 100%;
    max-width: 1500px;
    height: 100%;
    margin: auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 43px;
    height: 43px;

    border-radius: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #0c7dcc,
        #1251a3
    );

    color: white;

    font-size: 24px;
    font-weight: bold;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name strong {
    color: #102f62;
    font-size: 20px;
    letter-spacing: 2px;
}

.brand-name span {
    color: #667b91;
    font-size: 8px;
    letter-spacing: 5px;
    margin-top: 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #075cae;
    font-size: 16px;
}

.header-icon:hover {
    background: #edf5fc;
    border-radius: 50%;
}

.secure-badge {
    color: #6c7c8c;
    font-size: 10px;
    padding-left: 14px;
    border-left: 1px solid #dce2e7;
}


/* =========================================================
   NAV
========================================================= */

.navigation {
    width: 100%;
    height: 38px;

    background:
        linear-gradient(
            105deg,
            #061f55,
            #0b3e8f,
            #071f55
        );

    color: white;
}

.navigation-container {
    width: 100%;
    max-width: 1500px;
    height: 100%;

    margin: auto;
    padding: 0 28px;

    display: flex;
    align-items: center;

    gap: 40px;

    font-size: 11px;
}

.navigation-container span {
    white-space: nowrap;
}


/* =========================================================
   MAIN
========================================================= */

.main-container {
    width: 100%;
    max-width: 1500px;

    margin: auto;

    padding: 0 18px 35px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        390px;

    background: white;

    overflow: hidden;

    border-bottom:
        1px solid #dfe7ed;
}

.hero-image-area {
    width: 100%;

    overflow: hidden;

    background: #eef7fb;
}

.hero-image {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================================================
   LOGIN
========================================================= */

.login-card {
    width: 100%;

    min-height: 100%;

    padding: 30px 26px;

    background: white;

    border-left:
        1px solid #e1e7ec;

    box-shadow:
        -8px 0 25px
        rgba(18,52,82,.05);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 21px;
}

.login-lock {
    width: 43px;
    height: 43px;

    border-radius: 10px;

    background: #eaf4fc;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.login-header h1 {
    color: #103c70;
    font-size: 18px;

    margin-bottom: 4px;
}

.login-header p {
    color: #8996a2;
    font-size: 10px;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.form-group label {
    display: block;

    color: #3b4e62;

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 7px;
}

.form-group label span {
    color: #9ba6af;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;

    min-height: 39px;

    padding: 10px 12px;

    border:
        1px solid #cbd7e1;

    border-radius: 6px;

    background: white;

    color: #20384f;

    outline: none;

    font-size: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1373b9;

    box-shadow:
        0 0 0 3px
        rgba(19,115,185,.08);
}

.password-container {
    position: relative;
}

.password-container input {
    padding-right: 40px;
}

.eye-button {
    position: absolute;

    right: 4px;
    top: 50%;

    transform: translateY(-50%);

    width: 32px;
    height: 32px;

    border: none;

    background: transparent;

    color: #61778b;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;

    font-size: 10px;
}

.remember {
    display: flex;
    align-items: center;

    gap: 5px;

    color: #71808c;
}

.remember input {
    width: 13px;
    height: 13px;
}

.login-options a,
.login-links a {
    color: #086abb;
}

.login-button {
    width: 100%;
    min-height: 48px;

    border: none;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #075ca8,
            #087dc2
        );

    color: white;

    font-size: 13px;

    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    transition: .2s;
}

.login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(7,89,164,.2);
}

.practice-label {
    margin-top: 15px;

    padding: 9px;

    text-align: center;

    border-radius: 5px;

    background: #f2f7fb;

    color: #4b789d;

    font-size: 8px;

    font-weight: bold;

    letter-spacing: 1px;
}

.login-links {
    display: flex;
    justify-content: center;

    gap: 10px;

    margin-top: 13px;

    font-size: 10px;
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    background: white;

    border-bottom:
        1px solid #dfe6eb;
}

.quick-card {
    min-height: 135px;

    padding: 25px 28px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    border-right:
        1px solid #dfe5ea;
}

.quick-card:last-child {
    border-right: none;
}

.quick-icon {
    width: 47px;
    height: 47px;

    min-width: 47px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 23px;
}

.quick-icon.blue {
    color: #0866ad;
    background: #eaf4fc;
}

.quick-icon.green {
    color: #078465;
    background: #e8f7f1;
}

.quick-icon.purple {
    color: #6c50ad;
    background: #f1edfb;
}

.quick-content h2 {
    color: #123e72;
    font-size: 16px;

    margin-bottom: 7px;
}

.quick-content p {
    color: #697681;
    font-size: 11px;

    line-height: 1.5;

    margin-bottom: 9px;
}

.quick-content a {
    color: #086abb;

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   INFO
========================================================= */

.information-strip {
    width: 100%;

    margin-top: 28px;

    padding: 27px;

    background: #f5f7f9;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;

    gap: 14px;
}

.info-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;

    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
}

.info-card h3 {
    color: #183f71;
    font-size: 14px;

    margin-bottom: 6px;
}

.info-card p {
    color: #697680;

    font-size: 10px;

    line-height: 1.5;

    margin-bottom: 7px;
}

.info-card a {
    color: #086abb;
    font-size: 10px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;

    margin-top: 28px;

    background: #082d59;

    color: white;
}

.footer-container {
    width: 100%;

    max-width: 1500px;

    margin: auto;

    padding: 19px 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 10px;
}

.footer-links {
    display: flex;

    gap: 20px;
}

.footer-links a {
    color: #d7e5f3;
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard {
    display: none;

    width: 100%;
    min-height: 100vh;

    background: #f4f7fa;
}

.dashboard-header {
    width: 100%;
    height: 65px;

    padding: 0 5%;

    background: #082d59;

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.dashboard-brand {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 13px;
    font-weight: 700;
}

.dashboard-logo {
    width: 38px;
    height: 38px;

    border-radius: 9px;

    background: white;

    color: #075ca9;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    font-weight: bold;
}

.logout-button {
    padding: 8px 16px;

    border:
        1px solid
        rgba(255,255,255,.3);

    border-radius: 5px;

    background:
        rgba(255,255,255,.1);

    color: white;

    font-size: 11px;
}

.dashboard-main {
    width: 100%;

    max-width: 1200px;

    margin: auto;

    padding: 32px 20px;
}

.dashboard-title {
    margin-bottom: 24px;
}

.dashboard-title p {
    color: #7189a1;

    font-size: 9px;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.dashboard-title h1 {
    color: #143e70;

    font-size: 27px;
}

.dashboard-title h1 span {
    color: #0874b9;
}

.dashboard-title > span {
    display: block;

    color: #84919c;

    font-size: 11px;

    margin-top: 5px;
}

.balance-card {
    width: 100%;

    min-height: 160px;

    padding: 28px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #0a3d76,
            #087db8
        );

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.balance-card small {
    font-size: 9px;
    opacity: .75;
}

.balance-card h2 {
    font-size: 34px;
    margin: 9px 0;
}

.balance-card p {
    font-size: 10px;
    opacity: .7;
}

.balance-symbol {
    width: 65px;
    height: 65px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.13);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 27px;
}

.services-title {
    color: #163e6e;

    font-size: 19px;

    margin: 28px 0 15px;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 13px;
}

.service {
    padding: 19px;

    background: white;

    border:
        1px solid #e1e7ec;

    border-radius: 10px;

    cursor: pointer;

    transition: .2s;
}

.service:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.07);
}

.service-icon {
    width: 43px;
    height: 43px;

    margin-bottom: 11px;

    border-radius: 9px;

    background: #edf6fc;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.service h3 {
    color: #183e6d;

    font-size: 13px;
}

.service p {
    color: #8995a0;

    font-size: 10px;

    margin-top: 5px;
}

.transactions {
    width: 100%;

    margin-top: 23px;

    padding: 22px;

    background: white;

    border:
        1px solid #e1e7ec;

    border-radius: 11px;
}

.transactions-header {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.transactions-header h2 {
    color: #183e6d;

    font-size: 17px;
}

.transactions-header button {
    border: none;

    background: none;

    color: #0870b7;

    font-size: 10px;
}

.transaction {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 13px 0;

    border-bottom:
        1px solid #edf0f3;
}

.transaction:last-child {
    border-bottom: none;
}

.transaction-left {
    display: flex;

    align-items: center;

    gap: 11px;
}

.transaction-left small {
    display: block;

    color: #929ca5;

    font-size: 9px;

    margin-top: 3px;
}

.transaction-round {
    width: 39px;
    height: 39px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.transaction-round.credit {
    color: #078460;
    background: #e5f7ef;
}

.transaction-round.debit {
    color: #d15050;
    background: #fff0f0;
}

.credit-text {
    color: #078460;
    font-weight: 700;
}

.debit-text {
    color: #d15050;
    font-weight: 700;
}


/* =========================================================
   MONEY TRANSFER
========================================================= */

.transfer-page {
    display: none;

    width: 100%;
    min-height: 100vh;

    background:
        linear-gradient(
            135deg,
            #f3f8fc,
            #eef4f9
        );
}

.transfer-shell {
    width: 100%;

    max-width: 1250px;

    margin: auto;

    padding: 22px 22px 35px;
}

.transfer-topbar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;
}

.back-dashboard {
    border: none;

    background: none;

    color: #0769b4;

    font-size: 13px;

    font-weight: 600;
}

.practice-pill {
    padding: 7px 12px;

    border-radius: 20px;

    background: #e7f3fb;

    color: #0871b6;

    font-size: 8px;

    font-weight: bold;

    letter-spacing: 1px;
}


/* =========================================================
   TRANSFER MAIN LAYOUT
========================================================= */

.transfer-layout {
    display: grid;

    grid-template-columns:
        minmax(500px,1.45fr)
        minmax(380px,1fr);

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   TRANSFER CARD
========================================================= */

.transfer-card {
    width: 100%;

    min-height: 650px;

    padding: 30px;

    border-radius: 18px;

    background: white;

    border:
        1px solid #e1e9ef;

    box-shadow:
        0 18px 45px
        rgba(20,61,94,.09);
}

.transfer-title {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 25px;
}

.transfer-title-icon {
    width: 51px;
    height: 51px;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #eaf5fc,
            #dceefa
        );

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.transfer-title h1 {
    color: #143e70;

    font-size: 23px;
}

.transfer-title p {
    color: #87939e;

    font-size: 11px;

    margin-top: 4px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}

.amount-input {
    width: 100%;

    height: 40px;

    display: flex;

    align-items: center;

    overflow: hidden;

    border:
        1px solid #cdd7e0;

    border-radius: 7px;
}

.amount-input span {
    color: #0869b3;

    font-weight: bold;

    padding-left: 12px;
}

.amount-input input {
    border: none !important;

    box-shadow: none !important;
}

.transfer-card textarea {
    min-height: 92px;

    resize: vertical;
}

.transfer-button {
    width: 100%;

    min-height: 49px;

    border: none;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #075ba5,
            #0b86c8
        );

    color: white;

    font-size: 13px;

    font-weight: bold;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    box-shadow:
        0 10px 20px
        rgba(8,105,178,.18);

    transition: .2s;
}

.transfer-button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   RIGHT OFFERS
========================================================= */

.transfer-side {
    min-height: 650px;

    position: relative;

    overflow: hidden;

    padding: 23px;

    border-radius: 18px;

    background:
        linear-gradient(
            155deg,
            #062b61,
            #075a94 60%,
            #0786bd
        );

    color: white;

    box-shadow:
        0 18px 45px
        rgba(7,56,99,.16);
}

.side-glow {
    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background:
        rgba(94,207,255,.13);

    right: -90px;
    top: -80px;
}

.side-heading {
    position: relative;

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 16px;
}

.mini-icon {
    width: 43px;
    height: 43px;

    border-radius: 12px;

    background:
        rgba(255,255,255,.13);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.side-heading small {
    font-size: 8px;

    letter-spacing: 2px;

    opacity: .65;
}

.side-heading h2 {
    font-size: 21px;

    margin-top: 3px;
}


/* =========================================================
   HOME LOAN OFFER
========================================================= */

.offer-card {
    position: relative;

    padding: 17px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.11);

    border:
        1px solid
        rgba(255,255,255,.14);

    margin-bottom: 11px;
}

.home-loan-card {
    display: flex;

    gap: 13px;
}

.offer-icon {
    width: 45px;
    height: 45px;

    min-width: 45px;

    border-radius: 12px;

    background:
        rgba(255,255,255,.15);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;
}

.offer-tag {
    display: inline-block;

    font-size: 7px;

    letter-spacing: 1px;

    padding: 4px 7px;

    border-radius: 20px;

    background:
        rgba(255,255,255,.13);

    margin-bottom: 7px;
}

.offer-card h3 {
    font-size: 15px;

    margin-bottom: 5px;
}

.offer-card p {
    color: #d7ebf7;

    font-size: 9px;

    line-height: 1.45;

    margin-top: 4px;
}

.rate {
    color: #6de0ff;

    font-size: 27px;

    font-weight: bold;

    margin-top: 3px;
}

.rate small {
    color: #c8e8f5;

    font-size: 9px;
}

.offer-button {
    margin-top: 10px;

    border: 1px solid
        rgba(255,255,255,.3);

    border-radius: 5px;

    background:
        rgba(255,255,255,.1);

    color: white;

    padding: 7px 10px;

    font-size: 8px;
}


/* =========================================================
   PERSONAL LOAN
========================================================= */

.loan-small {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;
}

.loan-small-icon {
    width: 39px;
    height: 39px;

    min-width: 39px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.12);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 19px;
}


/* =========================================================
   PLATINUM CARD
========================================================= */

.platinum-card {
    position: relative;

    height: 175px;

    margin-top: 12px;

    padding: 19px;

    border-radius: 17px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #1e2430,
            #4c5665 55%,
            #111721
        );

    box-shadow:
        0 16px 30px
        rgba(0,0,0,.25);

    transform:
        rotate(-1deg);

    transition: .3s;
}

.platinum-card:hover {
    transform:
        rotate(0deg)
        translateY(-3px);
}

.platinum-card::before {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    right: -80px;
    top: -100px;

    background:
        rgba(255,255,255,.12);
}

.card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: bold;
}

.card-top span {
    color: #e4c66a;

    font-size: 8px;

    letter-spacing: 1px;
}

.card-chip {
    width: 37px;
    height: 27px;

    margin-top: 20px;

    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            #d8d8d8,
            #8d8d8d
        );

    color: #444;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 17px;
}

.card-number {
    margin-top: 15px;

    color: #f0f1f3;

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;

    letter-spacing: 1px;
}

.card-bottom {
    position: absolute;

    left: 19px;
    right: 19px;
    bottom: 14px;

    display: flex;

    justify-content: space-between;

    font-size: 7px;

    letter-spacing: 1px;
}

.card-bottom strong {
    color: #e1c46b;
}

.card-offer-text {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 9px;

    padding: 0 3px;
}

.card-offer-text strong {
    font-size: 10px;
}

.card-offer-text span {
    color: #9ce9ff;

    font-size: 8px;
}


/* =========================================================
   BOTTOM OFFER CARDS
========================================================= */

.bottom-offers {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 13px;

    margin-top: 17px;
}

.bottom-offer {
    min-height: 145px;

    padding: 17px;

    border-radius: 13px;

    display: flex;

    align-items: flex-start;

    gap: 11px;

    border: 1px solid transparent;

    transition: .25s;
}

.bottom-offer:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px
        rgba(30,65,90,.09);
}

.blue-offer {
    background: #eaf6ff;
    border-color: #d8ebf8;
}

.purple-offer {
    background: #f5efff;
    border-color: #e9ddfa;
}

.green-offer {
    background: #eafaf3;
    border-color: #d7f0e3;
}

.orange-offer {
    background: #fff6e8;
    border-color: #f5e5c7;
}

.bottom-offer-icon {
    width: 40px;
    height: 40px;

    min-width: 40px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.8);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 19px;
}

.bottom-offer small {
    color: #6e8192;

    font-size: 7px;

    letter-spacing: 1px;
}

.bottom-offer h3 {
    color: #183f6d;

    font-size: 13px;

    margin: 3px 0;
}

.bottom-offer strong {
    color: #0871b8;

    font-size: 9px;
}

.bottom-offer p {
    color: #71808d;

    font-size: 8px;

    line-height: 1.4;

    margin-top: 5px;
}


/* =========================================================
   TICKER
========================================================= */

.offer-ticker {
    width: 100%;

    height: 45px;

    margin-top: 16px;

    background: white;

    border:
        1px solid #dfe7ed;

    border-radius: 9px;

    display: flex;

    align-items: center;

    overflow: hidden;
}

.ticker-label {
    height: 100%;

    min-width: 130px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    background: #edf7fd;

    color: #0871b8;

    font-size: 9px;

    font-weight: bold;
}

.ticker-window {
    flex: 1;

    overflow: hidden;

    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;

    align-items: center;

    gap: 28px;

    padding-left: 25px;

    animation:
        tickerMove 24s
        linear infinite;
}

.ticker-track span {
    color: #50697e;

    font-size: 9px;
}

.ticker-track i {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #0876bc;
}

@keyframes tickerMove {

    from {
        transform: translateX(0);
    }

    to {
        transform:
            translateX(-55%);
    }

}


/* =========================================================
   RATE NOTE
========================================================= */

.rate-note {
    text-align: center;

    color: #8997a2;

    font-size: 8px;

    line-height: 1.5;

    margin-top: 11px;
}


/* =========================================================
   PROCESSING
========================================================= */

.processing,
.success {
    display: none;

    text-align: center;

    padding:
        75px 15px;
}

.spinner {
    width: 67px;
    height: 67px;

    border:
        6px solid #dfeaf1;

    border-top-color: #0877bb;

    border-right-color: #075ba4;

    border-radius: 50%;

    margin:
        0 auto 20px;

    animation:
        spin 1s linear infinite;
}

@keyframes spin {

    to {
        transform:
            rotate(360deg);
    }

}

.processing h2,
.success h2 {
    color: #143e70;

    font-size: 21px;
}

.processing p,
.success > p {
    color: #82909b;

    font-size: 11px;

    margin:
        7px 0 22px;
}

.progress {
    height: 9px;

    max-width: 440px;

    margin: auto;

    background: #e8eff4;

    border-radius: 20px;

    overflow: hidden;
}

.progress div {
    width: 0%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #075ca8,
            #13a0d7
        );

    border-radius: 20px;

    transition:
        width .1s linear;
}

.processing > strong {
    display: block;

    color: #0872b8;

    font-size: 12px;

    margin-top: 10px;
}


/* =========================================================
   SUCCESS
========================================================= */

.success-icon {
    width: 72px;
    height: 72px;

    margin:
        0 auto 18px;

    border-radius: 50%;

    background: #e4f8ee;

    color: #078e60;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 36px;

    font-weight: bold;
}

.success-green {
    color: #078e60;
}

.receipt {
    max-width: 510px;

    margin:
        20px auto;

    padding:
        5px 16px;

    background: #f7fafc;

    border:
        1px solid #e1e9ef;

    border-radius: 12px;

    text-align: left;
}

.receipt > div {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 12px 0;

    border-bottom:
        1px solid #e7edf2;

    font-size: 10px;
}

.receipt > div:last-child {
    border-bottom: none;
}

.receipt span {
    color: #82909b;
}

.receipt strong {
    color: #254664;

    text-align: right;
}

.home-button {
    border: none;

    border-radius: 8px;

    padding:
        12px 25px;

    background: #086db2;

    color: white;

    font-weight: bold;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:1100px) {

    .transfer-layout {
        grid-template-columns:
            1fr 370px;
    }

    .bottom-offers {
        grid-template-columns:
            repeat(2,1fr);
    }

}


@media (max-width:900px) {

    .hero-section {
        grid-template-columns: 1fr;
    }

    .login-card {
        border-left: none;

        border-top:
            1px solid #e1e7ec;
    }

    .transfer-layout {
        grid-template-columns: 1fr;
    }

    .transfer-side {
        min-height: auto;
    }

    .services-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}


@media (max-width:700px) {

    .secure-badge {
        display: none;
    }

    .navigation-container {
        gap: 18px;

        overflow-x: auto;
    }

    .quick-access,
    .information-strip {
        grid-template-columns: 1fr;
    }

    .quick-card {
        border-right: none;

        border-bottom:
            1px solid #dfe5ea;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bottom-offers {
        grid-template-columns: 1fr;
    }

    .main-container {
        padding:
            0 7px 25px;
    }

    .transfer-shell {
        padding:
            16px 10px 30px;
    }

}


@media (max-width:450px) {

    .header-container {
        padding:
            0 12px;
    }

    .brand-name strong {
        font-size: 16px;
    }

    .transfer-card {
        padding:
            22px 16px;
    }

    .transfer-side {
        padding:
            19px;
    }

    .platinum-card {
        height: 160px;
    }

    .card-number {
        font-size: 10px;
    }

}

/* =========================================================
   MOBILE FIX - TRANSFER / PROCESSING / SUCCESS
========================================================= */

@media (max-width: 600px) {

    .transfer-shell {
        width: 100%;
        padding: 12px 10px 25px;
    }

    .transfer-topbar {
        margin-bottom: 12px;
    }

    .back-dashboard {
        font-size: 11px;
    }

    .practice-pill {
        font-size: 7px;
        padding: 6px 9px;
    }

    /* Main transfer layout */
    .transfer-layout {
        display: block;
        width: 100%;
    }

    /* Transfer form */
    .transfer-card {
        width: 100%;
        min-height: auto;
        padding: 20px 14px;
        border-radius: 12px;
    }

    .transfer-title {
        gap: 9px;
        margin-bottom: 18px;
    }

    .transfer-title-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 19px;
        border-radius: 10px;
    }

    .transfer-title h1 {
        font-size: 19px;
    }

    .transfer-title p {
        font-size: 9px;
    }

    /* Form fields */
    .form-row {
        display: block;
    }

    .transfer-card .form-group {
        margin-bottom: 12px;
    }

    .transfer-card .form-group label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .transfer-card input,
    .transfer-card textarea {
        width: 100%;
        font-size: 11px;
        min-height: 37px;
        padding: 9px 10px;
    }

    .transfer-card textarea {
        min-height: 70px;
    }

    .amount-input {
        height: 37px;
    }

    .amount-input input {
        min-height: 35px !important;
    }

    .transfer-button {
        min-height: 43px;
        font-size: 11px;
        border-radius: 7px;
        margin-top: 3px;
    }


    /* =====================================================
       PROCESSING SCREEN
    ===================================================== */

    .processing {
        padding: 55px 8px;
    }

    .spinner {
        width: 52px;
        height: 52px;
        border-width: 5px;
        margin-bottom: 15px;
    }

    .processing h2 {
        font-size: 18px;
    }

    .processing p {
        font-size: 9px;
        line-height: 1.5;
        max-width: 270px;
        margin: 7px auto 18px;
    }

    .progress {
        width: 90%;
        max-width: 320px;
        height: 7px;
    }

    .processing > strong {
        font-size: 10px;
        margin-top: 8px;
    }


    /* =====================================================
       SUCCESS SCREEN
    ===================================================== */

    .success {
        padding: 40px 5px;
    }

    .success-icon {
        width: 58px;
        height: 58px;
        font-size: 29px;
        margin-bottom: 14px;
    }

    .success h2 {
        font-size: 18px;
    }

    .success > p {
        font-size: 9px;
        margin: 6px 0 16px;
    }

    .receipt {
        width: 100%;
        margin: 15px auto;
        padding: 3px 11px;
        border-radius: 9px;
    }

    .receipt > div {
        padding: 9px 0;
        gap: 10px;
        font-size: 8.5px;
    }

    .receipt span {
        flex-shrink: 0;
    }

    .receipt strong {
        max-width: 58%;
        font-size: 8.5px;
        word-break: break-word;
    }

    .home-button {
        padding: 10px 20px;
        font-size: 10px;
        border-radius: 7px;
    }


    /* =====================================================
       RIGHT SIDE OFFERS
    ===================================================== */

    .transfer-side {
        width: 100%;
        min-height: auto;
        margin-top: 12px;
        padding: 17px;
        border-radius: 12px;
    }

    .side-heading h2 {
        font-size: 18px;
    }

    .side-heading small {
        font-size: 7px;
    }

    .offer-card {
        padding: 13px;
    }

    .offer-card h3 {
        font-size: 13px;
    }

    .rate {
        font-size: 23px;
    }

    .platinum-card {
        height: 145px;
        padding: 15px;
    }

    .card-number {
        font-size: 9px;
        margin-top: 13px;
    }

    .card-chip {
        width: 32px;
        height: 23px;
        margin-top: 16px;
    }

    .card-bottom {
        left: 15px;
        right: 15px;
        bottom: 11px;
    }


    /* Bottom offers */
    .bottom-offers {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 11px;
    }

    .bottom-offer {
        min-height: 100px;
        padding: 13px;
        border-radius: 10px;
    }

    .bottom-offer h3 {
        font-size: 12px;
    }

    .bottom-offer p {
        font-size: 8px;
    }


    /* Offer ticker */
    .offer-ticker {
        height: 38px;
        margin-top: 11px;
    }

    .ticker-label {
        min-width: 95px;
        padding: 0 9px;
        font-size: 7px;
    }

    .ticker-track {
        gap: 18px;
        padding-left: 15px;
    }

    .ticker-track span {
        font-size: 7.5px;
    }

    .rate-note {
        font-size: 7px;
        padding: 0 5px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .transfer-shell {
        padding-left: 7px;
        padding-right: 7px;
    }

    .transfer-card {
        padding: 17px 11px;
    }

    .transfer-title h1 {
        font-size: 17px;
    }

    .transfer-title p {
        font-size: 8px;
    }

    .transfer-card input,
    .transfer-card textarea {
        font-size: 10px;
    }

    .receipt > div {
        font-size: 8px;
    }

    .receipt strong {
        font-size: 8px;
    }

    .platinum-card {
        height: 135px;
    }

    .card-number {
        font-size: 8px;
    }
}