.customer-page {
    background: #f5f8fb;
    padding: 64px 0 82px;
    min-height: 55vh;
    color: #102846
}

.customer-wrap {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
    margin-top:60px
}

.customer-auth-page {
    padding: 72px 0 90px;
    background: radial-gradient(circle at 15% 15%, #e4f4f8 0, transparent 38%), #f5f8fb;
    margin-top:60px
}

.customer-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
    gap: clamp(35px, 7vw, 100px);
    align-items: center
}

.customer-auth-intro {
    max-width: 500px
}

.customer-eyebrow {
    display: block;
    color: #16356B;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px
}

.customer-auth-intro h1,
.customer-dashboard-head h1,
.customer-profile-wrap>h1 {
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    margin: 0 0 18px;
    color: #102846
}

.customer-auth-intro>p,
.customer-dashboard-head p,
.customer-profile-lead {
    font-size: 16px;
    line-height: 1.8;
    color: #617286;
    margin: 0;
    max-width: 500px
}

.customer-points {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.customer-points span {
    padding: 9px 12px;
    border: 1px solid #d6e4eb;
    background: #ffffffa8;
    border-radius: 30px;
    color: #29485f;
    font-size: 12px;
    font-weight: 700
}

.customer-panel {
    padding: clamp(24px, 4vw, 38px);
    background: #fff;
    border: 1px solid #e1e9ef;
    border-radius: 16px;
    box-shadow: 0 18px 55px #1028460b
}

.customer-panel h2 {
    font-size: 24px;
    letter-spacing: -.6px;
    margin: 0 0 8px;
    color: #102846
}

.customer-muted {
    color: #738196;
    font-size: 12px
}

.customer-panel>.customer-muted {
    font-size: 13px;
    margin: 0 0 24px
}

.customer-form {
    display: grid;
    gap: 15px
}

.customer-form label,
.customer-form-grid label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    color: #29445b
}

.customer-form input:not([type=checkbox]),
.customer-form-grid input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8e2ea;
    border-radius: 7px;
    padding: 11px 13px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #102846;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .18s, box-shadow .18s
}

.customer-form input:focus,
.customer-form-grid input:focus {
    border-color: #0b829e;
    box-shadow: 0 0 0 3px #0b829e1c
}

.customer-check {
    display: flex !important;
    grid-template-columns: 18px 1fr;
    align-items: center;
    font-weight: 600 !important;
    color: #65768a !important
}

.customer-check input {
    width: 16px;
    height: 16px;
    accent-color: #16356B
}

.customer-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border: 0;
    border-radius: 7px;
    background: #16356B;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s, transform .18s
}

.customer-submit:hover {
    background: #cf2128;
    transform: translateY(-1px)
}

.customer-switch {
    font-size: 13px;
    color: #68798d;
    margin: 22px 0 0;
    text-align: center
}

.customer-switch a,
.customer-empty a {
    color: #16356B;
    font-weight: 800;
    text-decoration: none
}

.customer-alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.6
}

.customer-alert.success {
    background: #eaf8ef;
    border: 1px solid #c8e9d2;
    color: #17653b
}

.customer-alert.error {
    background: #fff0f0;
    border: 1px solid #f1d0d0;
    color: #963a3a
}

.customer-dashboard-head {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    margin-bottom: 34px
}

.customer-outline {
    padding: 10px 16px;
    border: 1px solid #cbd9e3;
    border-radius: 7px;
    background: #fff;
    color: #173953;
    font-weight: 800;
    cursor: pointer
}

.customer-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 42px
}

.customer-stat {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 23px;
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 12px;
    text-decoration: none;
    color: #102846
}

.customer-stat>span {
    font-size: 12px;
    color: #6e7e91;
    font-weight: 700
}

.customer-stat strong {
    font-size: 22px;
    letter-spacing: -.4px;
    overflow-wrap: anywhere
}

.customer-stat .customer-stat-email {
    font-size: 15px
}

.customer-stat-link {
    border-color: #c8e4ec;
    background: #f5fcfe
}

.customer-stat-link strong {
    font-size: 16px;
    color: #16356B
}

.customer-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px
}

.customer-section-head h2 {
    font-size: 27px;
    margin: 0 0 5px;
    letter-spacing: -.7px
}

.customer-section-head p {
    font-size: 13px;
    color: #6d7d90;
    margin: 0
}

.customer-empty {
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 12px;
    padding: 45px 20px;
    text-align: center
}

.customer-empty-icon {
    font-size: 36px;
    color: #0d819b
}

.customer-empty h3 {
    font-size: 20px;
    margin: 10px 0
}

.customer-empty p {
    font-size: 13px;
    color: #6c7c8f;
    margin: 0 0 18px
}

.customer-orders-table {
    overflow: auto;
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 12px
}

.customer-orders-table table {
    border-collapse: collapse;
    width: 100%;
    min-width: 780px;
    text-align: left
}

.customer-orders-table th,
.customer-orders-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #e8eef2;
    font-size: 13px;
    vertical-align: middle
}

.customer-orders-table th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #718196;
    background: #f9fbfc
}

.customer-orders-table td strong {
    font-size: 12px
}

.customer-orders-table td small {
    display: block;
    margin-top: 5px;
    color: #77869a
}

.customer-orders-table td a {
    color: #16356B;
    text-decoration: none;
    font-weight: 800
}

.customer-status {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 30px;
    background: #eef3f7;
    color: #3d5870;
    font-size: 11px;
    font-weight: 800
}

.status-delivered {
    background: #e5f7eb;
    color: #19713e
}

.status-shipped {
    background: #e5f3ff;
    color: #145c9c
}

.status-cancelled {
    background: #fff0f0;
    color: #9c3636
}

.status-pending {
    background: #fff7df;
    color: #805b00
}

.customer-pagination {
    margin-top: 22px
}

.customer-pagination nav {
    display: flex;
    justify-content: center;
    gap: 5px
}

.customer-pagination nav span,
.customer-pagination nav a {
    display: inline-block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: 5px;
    color: #173953;
    text-decoration: none;
    font-size: 12px
}

.customer-profile-wrap {
    max-width: 850px
}

.customer-back {
    display: inline-block;
    color: #16356B;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 28px
}

.customer-profile-wrap>h1 {
    margin-bottom: 10px
}

.customer-profile-lead {
    margin-bottom: 25px
}

.customer-profile-form {
    margin-top: 18px
}

.customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    margin: 22px 0 26px
}

.customer-profile-form hr {
    border: 0;
    border-top: 1px solid #e4ebf0;
    margin: 28px 0
}

.customer-profile-save {
    min-width: 180px;
    margin-top: 10px
}

@media(max-width:780px) {
    .customer-auth-grid {
        grid-template-columns: 1fr;
        max-width: 560px
    }

    .customer-auth-intro {
        max-width: none
    }

    .customer-auth-intro h1 {
        font-size: 40px
    }

    .customer-auth-page {
        padding: 48px 0 60px;
                margin-top: 100px;
    }

    .customer-page {
        padding: 42px 0 58px
    }

    .customer-stats {
        grid-template-columns: 1fr
    }

    .customer-dashboard-head {
        align-items: start
    }

    .customer-form-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .customer-wrap {
        width: calc(100% - 30px);
        margin-top:80px
    }

    .customer-panel {
        padding: 22px
    }

    .customer-dashboard-head {
        flex-direction: column
    }

    .customer-dashboard-head h1 {
        font-size: 36px
    }

    .customer-outline {
        align-self: flex-start
    }

    .customer-auth-intro h1 {
        font-size: 36px
    }
}