/* V10.1 customer account UI hard fix */
.account-page{
    background:#fffaf5;
    min-height:70vh;
}

.account-shell{
    padding:70px 6vw 100px;
}

.account-message{
    max-width:1180px;
    margin:0 auto 24px;
}

.account-auth-grid{
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:32px;
    align-items:start;
}

.account-grid{
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns:310px minmax(0,1fr);
    gap:32px;
    align-items:start;
}

.account-card,
.account-sidebar{
    background:#fff;
    border:1px solid #f0ddd0;
    border-radius:34px;
    padding:34px;
    box-shadow:0 24px 70px rgba(17,17,17,.08);
}

.account-card + .account-card{
    margin-top:26px;
}

.account-card h2,
.account-sidebar h2{
    margin:0 0 10px;
    font-size:30px;
    line-height:1.1;
    letter-spacing:-.04em;
    color:#111;
}

.account-card p,
.account-sidebar p{
    color:#667085;
    line-height:1.7;
    margin:7px 0;
}

.account-form label{
    display:block;
    margin:18px 0 8px;
    font-weight:900;
    color:#111;
}

.account-form input,
.account-form textarea{
    width:100%;
    box-sizing:border-box;
    display:block;
    border:1px solid #f0ddd0;
    border-radius:18px;
    padding:15px 17px;
    font:inherit;
    background:#fff;
    outline:none;
    transition:.2s ease;
}

.account-form input:focus,
.account-form textarea:focus{
    border-color:#fdba74;
    box-shadow:0 0 0 4px rgba(249,115,22,.12);
}

.account-form .btn{
    margin-top:22px;
}

.account-note{
    margin-top:20px;
    background:#fff7ed;
    border:1px solid #f0ddd0;
    border-radius:20px;
    padding:16px 18px;
    color:#667085;
    line-height:1.65;
}

.account-sidebar{
    position:sticky;
    top:98px;
}

.account-avatar{
    width:76px;
    height:76px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#f97316,#fb923c);
    color:#fff;
    font-size:28px;
    font-weight:1000;
    box-shadow:0 18px 38px rgba(249,115,22,.28);
    margin-bottom:18px;
}

.account-sidebar nav{
    display:grid;
    gap:10px;
    margin-top:24px;
}

.account-sidebar nav a{
    display:block;
    padding:13px 15px;
    border-radius:18px;
    background:#fff7ed;
    border:1px solid #f0ddd0;
    font-weight:900;
    color:#111;
    text-decoration:none;
}

.account-sidebar nav a:hover{
    background:#f97316;
    color:white;
}

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

.account-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
}

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

.account-stats div{
    background:#fff7ed;
    border:1px solid #f0ddd0;
    border-radius:24px;
    padding:22px;
}

.account-stats strong,
.account-stats span{
    display:block;
}

.account-stats strong{
    font-size:28px;
    line-height:1;
    letter-spacing:-.04em;
    color:#111;
}

.account-stats span{
    margin-top:8px;
    color:#667085;
    font-weight:800;
}

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

.account-order-row,
.account-order-item{
    display:grid;
    grid-template-columns:1fr auto auto auto;
    gap:14px;
    align-items:center;
    padding:16px 18px;
    border-radius:20px;
    background:#fffaf5;
    border:1px solid #f0ddd0;
    font-weight:850;
    color:#111;
    text-decoration:none;
}

.account-order-row:hover{
    border-color:#fdba74;
    transform:translateY(-1px);
}

.account-order-items{
    display:grid;
    gap:10px;
    margin:24px 0;
}

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

.auth-feature-list{
    display:grid;
    gap:12px;
    margin-top:20px;
}

.auth-feature-list div{
    background:#fff7ed;
    border:1px solid #f0ddd0;
    border-radius:18px;
    padding:14px 16px;
    color:#7c2d12;
    font-weight:850;
}

.account-card.login-card-design{
    background:
        radial-gradient(circle at 10% 10%, rgba(249,115,22,.14), transparent 32%),
        #fff;
}

.account-card.register-card-design{
    background:
        radial-gradient(circle at 90% 10%, rgba(249,115,22,.13), transparent 34%),
        #fff;
}

.firebase-login-box{
    margin-top:24px;
    border-top:1px solid #f0ddd0;
    padding-top:22px;
}

.firebase-login-box h3{
    margin:0 0 8px;
    color:#111;
}

.firebase-login-box input{
    margin:10px 0;
}

#firebaseRecaptcha{
    margin:12px 0;
}

.check-row{
    display:flex !important;
    gap:10px;
    align-items:flex-start;
    margin-top:18px !important;
    font-weight:800 !important;
}

.check-row input{
    width:auto !important;
    margin-top:5px;
}

.inline-flags-form{
    display:grid;
    gap:5px;
}

.inline-flags-form label{
    font-size:13px;
}

@media(max-width:980px){
    .account-auth-grid,
    .account-grid{
        grid-template-columns:1fr;
    }

    .account-sidebar{
        position:static;
    }

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

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

@media(max-width:620px){
    .account-shell{
        padding:42px 18px 80px;
    }

    .account-card,
    .account-sidebar{
        padding:24px;
        border-radius:26px;
    }

    .account-card h2,
    .account-sidebar h2{
        font-size:25px;
    }
}
