.customer-account-page {
    min-height: 70vh;

    padding:
        52px 0 72px;

    background:
        linear-gradient(
            180deg,
            #f3f8ff 0%,
            #ffffff 70%
        );
}


.customer-auth-wrap {
    width:
        min(
            520px,
            100%
        );

    margin: 0 auto;
}


.customer-auth-card {
    padding: 31px;

    border:
        1px solid
        #dfe7f1;

    border-radius: 25px;

    background: #ffffff;

    box-shadow:
        0 22px 65px
        rgba(35, 65, 104, .11);
}


.customer-auth-logo {
    display: block;

    width: 150px;

    margin:
        0 auto 22px;
}


.customer-auth-card h1 {
    margin: 0;

    color: #172033;

    text-align: center;

    font-size:
        clamp(
            33px,
            6vw,
            45px
        );
}


.customer-auth-intro {
    max-width: 390px;

    margin:
        10px auto 0;

    color: #667085;

    text-align: center;

    font-size: 13px;

    line-height: 1.55;
}


.customer-auth-quote {
    margin-top: 20px;

    padding: 14px;

    border:
        1px solid
        #d8e6f7;

    border-radius: 14px;

    background: #f3f8ff;
}


.customer-auth-quote small,
.customer-auth-quote strong {
    display: block;
}


.customer-auth-quote small {
    color: #667085;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
}


.customer-auth-quote strong {
    margin-top: 4px;

    color: #315f9f;
}


.customer-auth-errors {
    margin-top: 18px;

    padding: 13px;

    border:
        1px solid
        #ffd1cc;

    border-radius: 12px;

    background: #fff3f1;

    color: #9c3730;

    font-size: 12px;
}


.customer-auth-status {
    margin-top: 18px;

    padding: 13px;

    border:
        1px solid
        #cce8d9;

    border-radius: 12px;

    background: #f1fbf6;

    color: #177b59;

    font-size: 12px;
    font-weight: 700;
}


.customer-auth-form {
    display: grid;

    gap: 14px;

    margin-top: 23px;
}


.customer-auth-field label {
    display: block;

    margin-bottom: 7px;

    color: #475467;

    font-size: 11px;
    font-weight: 800;
}


.customer-auth-field input {
    width: 100%;
    min-height: 49px;

    padding:
        0 13px;

    border:
        1px solid
        #d6e0ec;

    border-radius: 12px;

    outline: none;

    background: #ffffff;

    color: #172033;

    font-size: 14px;
}


.customer-auth-field input:focus {
    border-color: #4777ba;

    box-shadow:
        0 0 0 4px
        rgba(71, 119, 186, .10);
}


.customer-auth-check {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: #667085;

    font-size: 11px;

    line-height: 1.5;
}


.customer-auth-check input {
    margin-top: 3px;
}


.customer-auth-button {
    width: 100%;
}


.customer-auth-switch {
    margin-top: 19px;

    color: #667085;

    text-align: center;

    font-size: 12px;
}


.customer-auth-switch a {
    color: #4777ba;

    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   DASHBOARD
========================================================= */

.customer-dashboard-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}


.customer-dashboard-header h1 {
    margin:
        7px 0 0;

    color: #172033;

    font-size:
        clamp(
            35px,
            5vw,
            48px
        );
}


.customer-dashboard-header p {
    margin:
        8px 0 0;

    color: #667085;
}


.customer-dashboard-actions {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}


.customer-stats {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap: 14px;
}


.customer-stat-card {
    padding: 20px;

    border:
        1px solid
        #dfe7f1;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(35, 65, 104, .06);
}


.customer-stat-card span {
    display: block;

    color: #667085;

    font-size: 11px;
    font-weight: 800;
}


.customer-stat-card strong {
    display: block;

    margin-top: 8px;

    color: #172033;

    font-size: 30px;
}


.customer-dashboard-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

    margin-top: 20px;
}


.customer-dashboard-panel {
    padding: 21px;

    border:
        1px solid
        #dfe7f1;

    border-radius: 18px;

    background: #ffffff;
}


.customer-dashboard-panel h2 {
    margin: 0;

    color: #172033;

    font-size: 20px;
}


.customer-record {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding:
        13px 0;

    border-bottom:
        1px solid
        #edf1f5;
}


.customer-record:last-child {
    border-bottom: 0;
}


.customer-record strong,
.customer-record small {
    display: block;
}


.customer-record small {
    margin-top: 3px;

    color: #667085;
}


.customer-record a {
    color: #4777ba;

    font-size: 11px;
    font-weight: 900;

    text-decoration: none;
}


.customer-empty {
    margin-top: 15px;

    color: #667085;

    font-size: 12px;
}


@media (
    max-width: 760px
) {

    .customer-account-page {
        padding:
            38px 0 52px;
    }


    .customer-auth-card {
        padding:
            25px 18px;
    }


    .customer-dashboard-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .customer-stats,
    .customer-dashboard-grid {
        grid-template-columns: 1fr;
    }

}