:root{
    --plum:#38252e;
    --rose:#a34f70;
    --rose-dark:#843b59;
    --pink:#fff5f7;
    --border:#ead5df;
    --muted:#826c77;
}
*{box-sizing:border-box}
body{
    margin:0;
    background:var(--pink);
    color:var(--plum);
    font-family:Arial,Helvetica,sans-serif;
    -webkit-font-smoothing:antialiased;
}
.account-announcement{
    background:var(--plum);
    color:white;
    padding:11px 15px;
    text-align:center;
    font-size:11px;
    letter-spacing:1px;
}
header{
    background:white;
    border-bottom:1px solid var(--border);
    padding:24px 20px;
    text-align:center;
}
header a{
    color:var(--plum);
    text-decoration:none;
    letter-spacing:3px;
    font-size:19px;
    font-weight:700;
}
main{
    max-width:1100px;
    margin:35px auto;
    padding:20px;
}
.panel{
    max-width:480px;
    margin:auto;
    background:white;
    border:1px solid var(--border);
    border-radius:24px;
    padding:38px;
    box-shadow:0 12px 50px #843b5909;
}
.panel.wide{
    max-width:1100px;
    background:transparent;
    border:0;
    box-shadow:none;
    padding:0;
}
h1{
    font-family:Georgia,serif;
    font-weight:400;
    font-size:34px;
    letter-spacing:-1px;
    margin:0 0 16px;
}
h2{font-size:20px;margin:0 0 18px}
p{line-height:1.6}
label{
    display:block;
    margin:18px 0 8px;
    font-size:13px;
    font-weight:600;
}
input,select{
    width:100%;
    padding:15px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#fffafb;
    color:var(--plum);
    font:inherit;
}
input:focus,select:focus{
    outline:2px solid #e6b6ca;
    outline-offset:2px;
}
button,.button{
    display:block;
    width:100%;
    border:0;
    border-radius:10px;
    background:var(--rose);
    color:white;
    padding:15px;
    margin-top:22px;
    font:inherit;
    font-weight:600;
    text-decoration:none;
    text-align:center;
    cursor:pointer;
}
button:hover,.button:hover{filter:brightness(.96)}
button:disabled{opacity:.5;cursor:default}
a{color:var(--rose-dark)}
.secondary{background:#f8dde5;color:var(--rose-dark)}
.message{
    background:var(--pink);
    padding:16px;
    border-radius:10px;
}
.links{text-align:center;line-height:2;margin-top:22px;font-size:14px}
small,.muted{color:var(--muted)}
.account-kicker{
    font-size:10px;
    letter-spacing:2px;
    color:var(--rose-dark);
    font-weight:700;
    margin-bottom:22px;
}
.auth-intro{text-align:center;margin-bottom:28px}
.auth-intro .account-symbol{
    margin:0 auto 20px;
}
.account-symbol{
    display:grid;
    place-items:center;
    width:62px;
    height:62px;
    border-radius:50%;
    background:#f3dbe5;
    color:var(--rose-dark);
}
.account-symbol svg{width:29px;height:29px}
.account-welcome{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:28px;
}
.account-welcome h1{margin-bottom:5px}
.account-welcome p{margin:0;overflow-wrap:anywhere}
.account-layout{
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:24px;
    align-items:start;
}
.account-sidebar{
    background:white;
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px;
}
.account-sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    padding:15px 12px;
    border-radius:9px;
    color:var(--plum);
    font-size:14px;
}
.account-sidebar a:hover{background:var(--pink)}
.account-sidebar svg,.quick-link svg{
    width:22px;
    height:22px;
    color:var(--rose);
    flex-shrink:0;
}
.account-content{min-width:0}
.loyalty-card{
    background:linear-gradient(125deg,#38252e,#654052);
    border-radius:20px;
    padding:28px;
    color:white;
    margin-bottom:22px;
}
.loyalty-card small{color:#f4dce6}
.loyalty-number{
    font-family:Georgia,serif;
    font-size:38px;
    margin:18px 0 6px;
}
.progress-track{
    height:7px;
    border-radius:10px;
    background:#ffffff25;
    overflow:hidden;
    margin:18px 0;
}
.progress-fill{
    background:#efbfd3;
    height:100%;
    border-radius:10px;
}
.quick-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-bottom:24px;
}
.quick-link{
    display:flex;
    flex-direction:column;
    gap:12px;
    background:white;
    border:1px solid var(--border);
    border-radius:15px;
    padding:20px;
    text-decoration:none;
    color:var(--plum);
}
.quick-link small{line-height:1.5}
.account-section{
    background:white;
    border:1px solid var(--border);
    border-radius:18px;
    padding:24px;
    margin-bottom:22px;
    scroll-margin-top:25px;
}
.order{
    border:1px solid var(--border);
    border-radius:12px;
    padding:17px;
    margin-top:14px;
}
.order-heading{
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
}
.order-status{
    background:#f8e6ed;
    color:var(--rose-dark);
    padding:7px 10px;
    border-radius:20px;
    font-size:11px;
}
.order-status.delivered{
    background:#e9f4ed;
    color:#276749;
}
.order-product{
    display:flex;
    align-items:center;
    gap:14px;
    padding:13px 0;
    border-top:1px solid #f4e7ed;
}
.order-product img{
    width:58px;
    height:76px;
    border-radius:7px;
    object-fit:cover;
}
.order-product div{flex:1;min-width:0}
.order-product small{display:block;margin-top:5px}
.order-total{text-align:right;font-weight:600}
.empty-state{
    text-align:center;
    background:var(--pink);
    padding:25px 15px;
    border-radius:12px;
}
.account-footer{
    text-align:center;
    color:var(--muted);
    padding:30px 20px;
    font-size:12px;
}
@media(max-width:720px){
    main{margin:15px auto;padding:16px}
    header a{font-size:16px;letter-spacing:2px}
    .panel{padding:25px;border-radius:18px}
    .panel.wide{padding:0}
    .account-layout{display:block}
    .account-sidebar{display:none}
    .account-welcome h1{font-size:28px}
    .loyalty-card{padding:23px}
    .quick-link{padding:16px}
    .account-section{padding:18px}
    .order{padding:13px}
    .order-heading strong{font-size:13px}
}
