@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap");

:root{
    --bg:#030406;
    --card:rgba(255,255,255,.06);
    --card2:rgba(255,255,255,.04);
    --stroke:rgba(255,255,255,.12);

    --yellow:#FFD400;
    --pink:#FF3B7B;
    --cyan:#00D8FF;
    --green:#24d17e;
    --red:#ff4545;

    --text:#ffffff;
    --muted:rgba(255,255,255,.65);

    --radius:24px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    min-height:100%;

    font-family:Inter,sans-serif;

    background:
        radial-gradient(circle at top right,rgba(0,216,255,.12),transparent 35%),
        radial-gradient(circle at left center,rgba(255,59,123,.10),transparent 30%),
        var(--bg);

    color:var(--text);

}

body{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

}

button,
input{

    font-family:inherit;

}

.auth-container{

    width:100%;

    display:flex;

    justify-content:center;

}

.auth-card{

    width:min(480px,100%);

    background:var(--card);

    border:1px solid var(--stroke);

    backdrop-filter:blur(20px);

    border-radius:30px;

    padding:40px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);

}

.auth-logo{

    width:180px;

    display:block;

    margin:0 auto 25px;

}

.auth-tabs{

    display:flex;

    gap:10px;

    margin-bottom:30px;

}

.auth-tabs button{

    flex:1;

    height:50px;

    border:none;

    border-radius:15px;

    background:rgba(255,255,255,.08);

    color:white;

    cursor:pointer;

    font-weight:700;

    transition:.25s;

}

.auth-tabs button:hover{

    transform:translateY(-2px);

}

.auth-tabs button.active{

    background:var(--yellow);

    color:#111;

}

.auth-form{

    display:grid;

    gap:18px;

}

.auth-form h2{

    font-family:"Barlow Condensed";

    font-size:42px;

    text-align:center;

    text-transform:uppercase;

}

.auth-form p{

    color:var(--muted);

    text-align:center;

    margin-bottom:15px;

}

.auth-form input{

    width:100%;

    height:54px;

    padding:0 18px;

    border-radius:15px;

    border:1px solid rgba(255,255,255,.12);

    background:rgba(255,255,255,.05);

    color:white;

    outline:none;

    transition:.25s;

}

.auth-form input:focus{

    border-color:var(--yellow);

}

.auth-form button{

    height:56px;

    border:none;

    border-radius:999px;

    background:var(--yellow);

    color:#111;

    font-size:18px;

    font-weight:800;

    cursor:pointer;

    transition:.25s;

}

.auth-form button:hover{

    transform:translateY(-2px);

}
.auth-message {
    display: none;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.auth-message.show {
    display: block;
}

.auth-message.success {
    color: var(--green);
    background: rgba(36, 209, 126, 0.12);
    border: 1px solid rgba(36, 209, 126, 0.25);
}

.auth-message.error {
    color: #ff7b7b;
    background: rgba(255, 69, 69, 0.12);
    border: 1px solid rgba(255, 69, 69, 0.25);
}

.auth-message.info {
    color: var(--cyan);
    background: rgba(0, 216, 255, 0.1);
    border: 1px solid rgba(0, 216, 255, 0.22);
}

.auth-form button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.auth-form button.loading {
    position: relative;
    color: transparent;
}

.auth-form button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    inset: 0;
    margin: auto;
    border: 3px solid rgba(17, 17, 17, 0.25);
    border-top-color: #111;
    border-radius: 50%;
    animation: auth-spin 0.75s linear infinite;
}

.auth-helper {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.auth-helper a,
.auth-back {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
}

.auth-helper a:hover,
.auth-back:hover {
    text-decoration: underline;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-form input.is-invalid {
    border-color: var(--red);
    background: rgba(255, 69, 69, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 69, 69, 0.08);
}

.auth-error-text {
    color: #ff7b7b;
    font-size: 12px;
    font-weight: 700;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-secondary-button {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
}

.auth-secondary-button:hover {
    background: rgba(255, 255, 255, 0.11) !important;
}

.auth-content-enter {
    animation: auth-content-enter 0.28s ease;
}

@keyframes auth-content-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    body {
        padding: 18px;
        align-items: flex-start;
    }

    .auth-container {
        padding-top: 20px;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .auth-logo {
        width: 150px;
        margin-bottom: 20px;
    }

    .auth-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .auth-tabs button {
        height: 46px;
    }

    .auth-form h2 {
        font-size: 36px;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MUGART — ÁREA DO CLIENTE
   Estrutura principal
========================================================= */

.hidden {
    display: none !important;
}

.account-page {
    display: block;
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(0, 216, 255, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 6% 20%,
            rgba(255, 59, 123, 0.1),
            transparent 30%
        ),
        var(--bg);
}

/* =========================================================
   CARREGAMENTO
========================================================= */

.account-loading {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 16px;
    color: var(--muted);
    text-align: center;
}

.account-loading p {
    font-weight: 700;
}

.account-spinner {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: account-spin 0.8s linear infinite;
}

.account-loading-inline {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
}

@keyframes account-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   APLICAÇÃO
========================================================= */

.account-app {
    width: 100%;
    min-height: 100vh;
}

.account-topbar {
    position: sticky;
    top: 0;
    z-index: 30;

    min-height: 86px;
    padding: 16px clamp(18px, 4vw, 48px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: rgba(3, 4, 6, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
}

.account-logo {
    display: inline-flex;
    align-items: center;
}

.account-logo img {
    width: 145px;
    display: block;
}

.account-user-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-user-header > div {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.account-user-header span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.account-user-header strong {
    font-size: 15px;
}

.account-logout-small {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    padding: 10px 16px;

    background: rgba(255, 255, 255, 0.07);
    color: #fff;

    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-logout-small:hover {
    border-color: rgba(255, 69, 69, 0.5);
    background: rgba(255, 69, 69, 0.12);
    color: #ff7b7b;
}

/* =========================================================
   ESTRUTURA PRINCIPAL
========================================================= */

.account-shell {
    width: min(1520px, calc(100% - 32px));
    margin: 28px auto 60px;

    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* =========================================================
   MENU LATERAL
========================================================= */

.account-sidebar {
    position: sticky;
    top: 114px;

    border: 1px solid var(--stroke);
    border-radius: 28px;
    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.account-profile-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;

    padding: 8px 8px 20px;
    margin-bottom: 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.account-avatar {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            var(--yellow),
            #ffb800
        );

    color: #111;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 900;

    box-shadow: 0 10px 28px rgba(255, 212, 0, 0.16);
}

.account-profile-card > div:last-child {
    min-width: 0;
}

.account-profile-card span {
    display: block;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.account-profile-card h2 {
    font-size: 24px;
    line-height: 1;
    text-transform: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-profile-card p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu {
    display: grid;
    gap: 8px;
}

.account-menu-button {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;

    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid transparent;
    border-radius: 16px;

    background: transparent;
    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    font-weight: 800;
    text-align: left;

    cursor: pointer;
    transition: 0.2s ease;
}

.account-menu-button span {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);

    font-size: 16px;
}

.account-menu-button:hover {
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    transform: translateX(3px);
}

.account-menu-button.active {
    border-color: rgba(255, 212, 0, 0.34);
    background: rgba(255, 212, 0, 0.1);
    color: var(--yellow);
}

.account-menu-button.active span {
    background: var(--yellow);
    color: #111;
}

.account-menu-button.logout {
    margin-top: 8px;
    color: #ff7b7b;
}

.account-menu-button.logout:hover {
    background: rgba(255, 69, 69, 0.1);
    border-color: rgba(255, 69, 69, 0.2);
}

.account-back-store {
    display: flex;
    justify-content: center;

    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.account-back-store:hover {
    text-decoration: underline;
}

/* =========================================================
   CONTEÚDO
========================================================= */

.account-content {
    min-width: 0;
}

.account-section {
    display: none;
    animation: account-section-enter 0.25s ease;
}

.account-section.active {
    display: block;
}

@keyframes account-section-enter {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-section-header {
    margin-bottom: 22px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.account-section-header.with-action {
    align-items: center;
}

.account-section-header span {
    display: block;
    margin-bottom: 5px;

    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-section-header h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 0.95;
    text-transform: uppercase;
}

.account-section-header p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.55;
}

/* =========================================================
   MENSAGENS
========================================================= */

.account-message {
    display: none;
    margin-bottom: 18px;
    padding: 14px 17px;

    border-radius: 15px;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.account-message.success {
    display: block;
    color: var(--green);
    background: rgba(36, 209, 126, 0.11);
    border: 1px solid rgba(36, 209, 126, 0.26);
}

.account-message.error {
    display: block;
    color: #ff8181;
    background: rgba(255, 69, 69, 0.11);
    border: 1px solid rgba(255, 69, 69, 0.26);
}

.account-message.info {
    display: block;
    color: var(--cyan);
    background: rgba(0, 216, 255, 0.1);
    border: 1px solid rgba(0, 216, 255, 0.24);
}

/* =========================================================
   PAINÉIS
========================================================= */

.account-panel {
    border: 1px solid var(--stroke);
    border-radius: 26px;
    padding: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.account-panel h3 {
    margin-bottom: 16px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 27px;
    text-transform: uppercase;
}

.account-panel hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 18px 0;
}

.account-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.account-panel-header span {
    color: var(--yellow);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-panel-header h2 {
    margin-top: 3px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 34px;
    text-transform: uppercase;
}

/* =========================================================
   BOTÕES
========================================================= */

.account-primary-button,
.account-secondary-button {
    min-height: 48px;
    padding: 12px 20px;

    border-radius: 999px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;

    cursor: pointer;
    transition: 0.2s ease;
}

.account-primary-button {
    border: 0;
    background: var(--yellow);
    color: #111;
}

.account-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 212, 0, 0.15);
}

.account-primary-button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.account-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.account-secondary-button:hover {
    background: rgba(255, 255, 255, 0.11);
}

.account-text-button {
    padding: 7px 10px;

    border: 0;
    background: transparent;
    color: var(--cyan);

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;
}

.account-text-button:hover {
    text-decoration: underline;
}

.account-text-button.danger {
    color: #ff7575;
}

/* =========================================================
   RESPONSIVIDADE DA ESTRUTURA
========================================================= */

@media (max-width: 1050px) {
    .account-shell {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-menu {
        grid-template-columns: repeat(3, 1fr);
    }

    .account-menu-button {
        justify-content: center;
        text-align: center;
    }

    .account-menu-button.logout {
        margin-top: 0;
    }
}

@media (max-width: 720px) {
    .account-topbar {
        min-height: auto;
        align-items: flex-start;
    }

    .account-logo img {
        width: 120px;
    }

    .account-user-header > div {
        display: none;
    }

    .account-shell {
        width: min(100% - 20px, 1520px);
        margin-top: 16px;
    }

    .account-sidebar {
        padding: 15px;
        border-radius: 22px;
    }

    .account-profile-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .account-avatar {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .account-menu {
        grid-template-columns: 1fr 1fr;
    }

    .account-menu-button {
        min-height: 58px;
        padding: 10px;
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .account-menu-button span {
        width: 25px;
        height: 25px;
    }

    .account-section-header,
    .account-section-header.with-action {
        align-items: stretch;
        flex-direction: column;
    }

    .account-section-header h1 {
        font-size: 42px;
    }

    .account-panel {
        padding: 18px;
        border-radius: 22px;
    }
}
/* =========================================================
   DASHBOARD
========================================================= */

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.account-summary-card {
    min-height: 150px;
    padding: 20px;

    display: flex;
    align-items: flex-start;
    gap: 15px;

    border: 1px solid var(--stroke);
    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );

    color: #fff;
    text-align: left;

    cursor: pointer;
    transition: 0.22s ease;
}

.account-summary-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 212, 0, 0.35);
    background: rgba(255, 212, 0, 0.065);
}

.account-summary-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 16px;
    background: rgba(255, 212, 0, 0.12);

    font-size: 24px;
}

.account-summary-card div {
    min-width: 0;
}

.account-summary-card small {
    display: block;
    margin-bottom: 4px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-summary-card strong {
    display: block;

    color: var(--yellow);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 32px;
    line-height: 1;
}

.account-summary-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

/* =========================================================
   ESTADO VAZIO
========================================================= */

.account-empty-state {
    min-height: 240px;
    padding: 28px;

    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;

    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.account-empty-state > span {
    font-size: 42px;
}

.account-empty-state h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    text-transform: uppercase;
}

.account-empty-state p {
    max-width: 430px;
    color: var(--muted);
    line-height: 1.5;
}

.account-empty-state a {
    margin-top: 7px;
    padding: 11px 18px;

    border-radius: 999px;

    background: var(--yellow);
    color: #111;

    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

/* =========================================================
   FILTROS DE PEDIDOS
========================================================= */

.account-toolbar {
    margin-bottom: 18px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 12px;
}

.account-toolbar input,
.account-toolbar select {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.06);
    color: #fff;

    outline: none;
}

.account-toolbar input:focus,
.account-toolbar select:focus {
    border-color: rgba(255, 212, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.09);
}

.account-toolbar select option {
    color: #111;
}

/* =========================================================
   LISTA DE PEDIDOS
========================================================= */

.account-orders-list {
    display: grid;
    gap: 16px;
}

.account-order-card {
    border: 1px solid var(--stroke);
    border-radius: 24px;
    padding: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.account-order-card.compact {
    box-shadow: none;
}

.account-order-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    padding-bottom: 16px;
    margin-bottom: 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-order-card-head span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-order-card-head h3 {
    margin-top: 3px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 29px;
    line-height: 1;
    text-transform: uppercase;
}

.account-order-card-head small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.account-order-status {
    min-width: 120px;
    padding: 8px 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.account-order-status.pending {
    color: #ffb84d;
    background: rgba(255, 159, 28, 0.13);
    border: 1px solid rgba(255, 159, 28, 0.25);
}

.account-order-status.approved {
    color: var(--green);
    background: rgba(36, 209, 126, 0.12);
    border: 1px solid rgba(36, 209, 126, 0.24);
}

.account-order-status.production {
    color: var(--cyan);
    background: rgba(0, 216, 255, 0.11);
    border: 1px solid rgba(0, 216, 255, 0.23);
}

.account-order-status.ready {
    color: #b992ff;
    background: rgba(153, 102, 255, 0.12);
    border: 1px solid rgba(153, 102, 255, 0.24);
}

.account-order-status.sent {
    color: var(--yellow);
    background: rgba(255, 212, 0, 0.11);
    border: 1px solid rgba(255, 212, 0, 0.24);
}

.account-order-status.delivered {
    color: #75f3a9;
    background: rgba(36, 209, 126, 0.12);
    border: 1px solid rgba(36, 209, 126, 0.24);
}

.account-order-status.canceled {
    color: #ff7d7d;
    background: rgba(255, 69, 69, 0.11);
    border: 1px solid rgba(255, 69, 69, 0.24);
}

.account-order-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.account-order-details-grid > div {
    padding: 15px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.035);
}

.account-order-details-grid small {
    display: block;
    margin-bottom: 5px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-order-details-grid strong {
    line-height: 1.4;
}

.account-order-card-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

/* =========================================================
   TIMELINE DO PEDIDO
========================================================= */

.account-order-timeline {
    margin: 24px 0;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.account-timeline-step {
    position: relative;

    min-width: 0;

    display: grid;
    justify-items: center;
    gap: 8px;

    color: rgba(255, 255, 255, 0.42);
    text-align: center;
}

.account-timeline-step::before {
    content: "";

    position: absolute;
    top: 16px;
    left: calc(-50% + 16px);

    width: calc(100% - 32px);
    height: 2px;

    background: rgba(255, 255, 255, 0.1);
}

.account-timeline-step:first-child::before {
    display: none;
}

.account-timeline-step > span {
    position: relative;
    z-index: 2;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 2px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;

    background: #0a0b0e;
    color: #111;

    font-size: 13px;
    font-weight: 900;
}

.account-timeline-step p {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

.account-timeline-step.active {
    color: #fff;
}

.account-timeline-step.active::before {
    background: var(--yellow);
}

.account-timeline-step.active > span {
    border-color: var(--yellow);
    background: var(--yellow);
    color: #111;

    box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.09);
}

/* =========================================================
   MODAL DO PEDIDO
========================================================= */

.account-order-modal-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
}

.account-order-modal-grid > .account-panel:last-child {
    grid-column: 1 / -1;
}

.account-order-items {
    display: grid;
    gap: 12px;
}

.account-order-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.035);
}

.account-order-item img {
    width: 64px;
    height: 64px;

    object-fit: contain;

    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
}

.account-order-item strong {
    display: block;
}

.account-order-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.account-order-item b {
    color: var(--yellow);
}

.account-tracking-box {
    margin-top: 15px;
    padding: 15px;

    border: 1px solid rgba(0, 216, 255, 0.22);
    border-radius: 15px;

    background: rgba(0, 216, 255, 0.08);
}

.account-tracking-box small {
    display: block;
    margin-bottom: 5px;

    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-tracking-box strong {
    font-size: 18px;
}

.account-summary-lines {
    display: grid;
    gap: 11px;
}

.account-summary-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;

    color: var(--muted);
}

.account-summary-lines .total {
    margin-top: 7px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: #fff;
}

.account-summary-lines .total strong {
    color: var(--yellow);
    font-size: 21px;
}

/* =========================================================
   RESPONSIVIDADE — DASHBOARD E PEDIDOS
========================================================= */

@media (max-width: 1200px) {
    .account-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .account-toolbar {
        grid-template-columns: 1fr;
    }

    .account-order-details-grid {
        grid-template-columns: 1fr;
    }

    .account-order-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .account-timeline-step {
        min-height: 44px;

        grid-template-columns: 34px 1fr;
        justify-items: start;
        align-items: center;

        text-align: left;
    }

    .account-timeline-step::before {
        top: -12px;
        left: 16px;

        width: 2px;
        height: 24px;
    }

    .account-timeline-step p {
        font-size: 12px;
    }

    .account-order-modal-grid {
        grid-template-columns: 1fr;
    }

    .account-order-modal-grid > .account-panel:last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .account-summary-grid {
        grid-template-columns: 1fr;
    }

    .account-order-card {
        padding: 17px;
        border-radius: 20px;
    }

    .account-order-card-head {
        flex-direction: column;
    }

    .account-order-status {
        min-width: 0;
    }

    .account-order-card-actions {
        justify-content: stretch;
    }

    .account-order-card-actions .account-primary-button {
        width: 100%;
    }

    .account-order-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .account-order-item img {
        width: 54px;
        height: 54px;
    }

    .account-order-item b {
        grid-column: 2;
    }
}

/* =========================================================
   ENDEREÇOS
========================================================= */

.account-addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.account-address-card {
    border: 1px solid var(--stroke);
    border-radius: 22px;
    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.17);
}

.account-address-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    padding-bottom: 14px;
    margin-bottom: 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-address-card-head span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-address-card-head h3 {
    margin-top: 3px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}

.account-default-badge {
    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(255, 212, 0, 0.12);
    border: 1px solid rgba(255, 212, 0, 0.25);

    color: var(--yellow) !important;

    font-size: 10px !important;
    font-weight: 900;
    text-transform: uppercase;
}

.account-address-body {
    display: grid;
    gap: 6px;
}

.account-address-body strong {
    margin-bottom: 3px;
}

.account-address-body p {
    color: var(--muted);
    line-height: 1.45;
}

.account-address-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;

    margin-top: 18px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================
   FORMULÁRIOS
========================================================= */

.account-form {
    display: grid;
    gap: 22px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.account-form-grid label {
    display: grid;
    gap: 8px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 800;
}

.account-form-grid .full {
    grid-column: 1 / -1;
}

.account-form-grid input,
.account-form-grid select,
.account-form-grid textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.055);
    color: #fff;

    outline: none;
    transition: 0.2s ease;
}

.account-form-grid textarea {
    min-height: 110px;
    resize: vertical;
}

.account-form-grid input:focus,
.account-form-grid select:focus,
.account-form-grid textarea:focus {
    border-color: rgba(255, 212, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.09);
}

.account-form-grid input[readonly] {
    opacity: 0.78;
    cursor: not-allowed;
}

.account-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.account-checkbox {
    min-height: 46px;

    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;

    padding: 12px 14px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.035);
}

.account-checkbox input {
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;

    accent-color: var(--yellow);
}

.account-checkbox span {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

/* =========================================================
   MODAIS
========================================================= */

.account-modal {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.account-modal.open {
    display: flex;
}

.account-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.account-modal-card {
    position: relative;
    z-index: 2;

    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    padding: 28px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(0, 216, 255, 0.09),
            transparent 32%
        ),
        #0a0b0e;

    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.56);
}

.account-order-modal-card {
    width: min(1050px, 100%);
}

.account-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
    color: #fff;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;
    transition: 0.2s ease;
}

.account-modal-close:hover {
    background: rgba(255, 69, 69, 0.12);
    border-color: rgba(255, 69, 69, 0.28);
    color: #ff8585;
}

.account-modal-header {
    padding-right: 48px;
    margin-bottom: 22px;
}

.account-modal-header span {
    display: block;
    margin-bottom: 5px;

    color: var(--yellow);

    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-modal-header h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
}

.account-modal-header p {
    margin-top: 7px;
    color: var(--muted);
}

/* =========================================================
   SCROLLBAR DOS MODAIS
========================================================= */

.account-modal-card::-webkit-scrollbar {
    width: 10px;
}

.account-modal-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.035);
}

.account-modal-card::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.account-modal-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* =========================================================
   AJUSTES GERAIS
========================================================= */

.account-page button,
.account-page input,
.account-page select,
.account-page textarea {
    font-family: inherit;
}

.account-page button {
    cursor: pointer;
}

.account-page a {
    color: inherit;
}

.account-page h1,
.account-page h2,
.account-page h3 {
    font-family: "Barlow Condensed", sans-serif;
}

.account-page input::placeholder,
.account-page textarea::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.account-page select option {
    color: #111;
}

body.account-page.modal-open {
    overflow: hidden;
}

/* =========================================================
   RESPONSIVIDADE FINAL
========================================================= */

@media (max-width: 900px) {
    .account-addresses-grid {
        grid-template-columns: 1fr;
    }

    .account-modal-card {
        padding: 22px;
        border-radius: 22px;
    }
}

@media (max-width: 650px) {
    .account-form-grid {
        grid-template-columns: 1fr;
    }

    .account-form-grid .full {
        grid-column: auto;
    }

    .account-form-actions {
        flex-direction: column-reverse;
    }

    .account-form-actions .account-primary-button,
    .account-form-actions .account-secondary-button {
        width: 100%;
    }

    .account-address-actions {
        justify-content: flex-start;
    }

    .account-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .account-modal-card {
        width: 100%;
        max-height: calc(100vh - 20px);

        border-radius: 24px 24px 0 0;
        padding: 20px;
    }

    .account-modal-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 430px) {
    .account-topbar {
        padding-inline: 14px;
    }

    .account-shell {
        width: calc(100% - 14px);
    }

    .account-summary-card {
        min-height: 130px;
        padding: 16px;
    }

    .account-address-card {
        padding: 16px;
    }

    .account-modal {
        padding: 0;
    }

    .account-modal-card {
        max-height: 100vh;
        border-radius: 0;
    }
}

/* =========================================================
   FAVORITOS
========================================================= */

.account-favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.account-favorites-empty {
    grid-column: 1 / -1;
}

.account-favorite-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--stroke);
    border-radius: 23px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );
    box-shadow: 0 20px 55px rgba(0,0,0,.18);
    transition: .22s ease;
}

.account-favorite-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,212,0,.38);
}

.account-favorite-image {
    height: 235px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.035);
}

.account-favorite-image img {
    width: 92%;
    height: 215px;
    object-fit: contain;
    transition: transform .22s ease;
}

.account-favorite-card:hover .account-favorite-image img {
    transform: scale(1.04);
}

.account-favorite-content {
    padding: 18px;
}

.account-favorite-content > span {
    display: block;
    margin-bottom: 5px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-favorite-content h3 {
    font-size: 27px;
    line-height: 1.05;
}

.account-favorite-content p {
    min-height: 58px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.account-favorite-stock {
    margin-top: 12px;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
}

.account-favorite-stock.out {
    color: #ff7b7b;
}

.account-favorite-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-top: 8px;
}

.account-favorite-price strong {
    color: var(--yellow);
    font-size: 23px;
}

.account-favorite-price small {
    color: rgba(255,255,255,.45);
    text-decoration: line-through;
}

.account-favorite-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 16px;
}

.account-favorite-actions .account-primary-button {
    min-height: 42px;
    padding: 10px 13px;
    display: grid;
    place-items: center;
    font-size: 15px;
    text-decoration: none;
}

.account-remove-favorite {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(255,59,123,.28);
    border-radius: 999px;
    background: rgba(255,59,123,.09);
    color: var(--pink);
    font-weight: 900;
}

.account-remove-favorite:hover {
    background: var(--pink);
    color: #fff;
}

@media (max-width: 1250px) {
    .account-favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .account-favorites-grid {
        grid-template-columns: 1fr;
    }
}
