@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&family=Montserrat:wght@400;500;600;700&display=swap');
:root{--navy:#001b44;--navy2:#003087;--blue:#0877cf;--red:#e41e35;--ink:#12213a;--muted:#66758b;--line:#dce5ef;--white:#fff;--bg:#f3f7fb;--green:#16845b;--shadow:0 24px 65px rgba(0,24,64,.18)}
*{box-sizing:border-box}body{margin:0;font-family:Montserrat,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input{font:inherit}.auth-eyebrow{margin:0 0 7px!important;color:#1590ee!important;font-family:'Josefin Sans',sans-serif;font-size:12px!important;font-weight:700;letter-spacing:1.5px}.customer-auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:#00142f radial-gradient(circle at 78% 10%,rgba(13,119,207,.35),transparent 35%)}.customer-auth-shell{width:min(1080px,100%);min-height:680px;display:grid;grid-template-columns:.9fr 1.1fr;background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.customer-auth-brand{padding:70px 55px;color:#fff;background:linear-gradient(145deg,rgba(0,18,47,.94),rgba(0,55,112,.94)),url('admin-background-clean.png') center/cover}.customer-auth-brand img,.account-header img{width:210px;max-height:120px;object-fit:contain}.customer-auth-brand .auth-eyebrow{margin-top:50px!important}.customer-auth-brand h1{font-family:'Josefin Sans';font-size:42px;line-height:1.1;margin:12px 0 18px}.customer-auth-brand>p{color:#bad6f1;line-height:1.75;font-size:14px}.customer-auth-brand ul{list-style:none;padding:18px 0 0;margin:0;display:grid;gap:15px;font-size:13px}.customer-auth-brand li i{width:25px;color:#50e5a3}.customer-auth-card{padding:42px 54px;display:flex;flex-direction:column;justify-content:center}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#edf3f8;border-radius:11px;padding:5px;margin-bottom:32px}.auth-tabs button{border:0;background:transparent;padding:12px;border-radius:8px;color:#6a7890;font-weight:700;cursor:pointer}.auth-tabs button.active{background:#fff;color:var(--navy2);box-shadow:0 5px 15px rgba(0,35,80,.1)}.auth-form{display:grid;gap:17px}.auth-form[hidden]{display:none}.auth-form h2,.account-card h2{margin:0;font-family:'Josefin Sans';font-size:29px}.auth-form>div>p:last-child{color:var(--muted);font-size:13px;margin:7px 0 5px}.auth-form label,.profile-card label{display:grid;gap:7px;color:#33445e;font-size:12px;font-weight:700}.auth-input{height:48px;display:flex;align-items:center;gap:11px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fafdff}.auth-input:focus-within{border-color:#168ade;box-shadow:0 0 0 3px rgba(22,138,222,.1)}.auth-input i{color:#6c8bab}.auth-input input{width:100%;border:0;outline:0;background:transparent;color:var(--ink)}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-primary{border:0;border-radius:10px;padding:14px 20px;color:#fff;background:linear-gradient(110deg,#004a98,#0879d2);font-weight:700;cursor:pointer;box-shadow:0 8px 20px rgba(0,83,164,.22)}.auth-primary:hover{filter:brightness(1.08)}.auth-primary:disabled{opacity:.58;cursor:wait}.auth-message{min-height:18px;margin:0;color:#c32d3a;font-size:12px;line-height:1.4}.auth-message.success{color:var(--green)}.auth-back{align-self:center;margin-top:25px;color:#60718a;text-decoration:none;font-size:12px}.auth-back:hover{color:var(--navy2)}
.customer-account-page{min-height:100vh;background:#001329 url('admin-background-clean.png') center/cover fixed no-repeat;color:#edf6ff}.account-header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:10px max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid #0b4d80;background:rgba(0,13,31,.82);backdrop-filter:blur(12px)}.account-header img{width:155px;height:70px}.account-header>div{display:flex;align-items:center;gap:12px}.account-header a,.account-header button{border:1px solid #155584;border-radius:9px;padding:11px 15px;color:#d9efff;background:#062849;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer}.account-header i{margin-right:6px}.account-shell{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:42px 0 70px}.account-welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.account-welcome h1{font-family:'Josefin Sans';font-size:40px;margin:0 0 7px}.account-welcome>div>p:last-child{margin:0;color:#9fc5ea}.account-avatar{width:66px;height:66px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#0c81dc,#063e7b);border:2px solid #31a0ef;font-size:25px;font-weight:800}.account-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px}.account-card{border:1px solid #0d4d80;border-radius:15px;background:linear-gradient(125deg,rgba(3,31,62,.98),rgba(0,17,38,.98));box-shadow:0 18px 45px rgba(0,0,0,.24);overflow:hidden}.account-card>header{display:flex;justify-content:space-between;align-items:center;padding:21px 23px;border-bottom:1px solid #0b406b}.account-card>header i{color:#59b4ff;font-size:24px}.account-card h2{font-size:21px;color:#fff}.profile-card form{padding:23px;display:grid;gap:17px}.profile-card label{color:#bdd9f2}.profile-card input{height:44px;border:1px solid #155584;border-radius:9px;background:#062849;color:#fff;padding:0 13px;outline:0}.profile-card input:focus{border-color:#2699ed}.customer-orders{padding:10px 20px 22px;max-height:560px;overflow:auto}.customer-order{margin-top:12px;border:1px solid #0c456f;border-radius:12px;background:rgba(2,25,51,.8);overflow:hidden}.customer-order>header,.customer-order>footer{display:flex;align-items:center;justify-content:space-between;padding:13px 16px}.customer-order>header{border-bottom:1px solid #0b355b}.customer-order>header strong,.customer-order>header small{display:block}.customer-order>header small{margin-top:3px;color:#8fb7da;font-size:10px}.customer-order>div{padding:8px 16px}.customer-order>div p{display:flex;justify-content:space-between;gap:20px;margin:0;padding:8px 0;border-bottom:1px solid #0a3154;color:#b9d5ef;font-size:12px}.customer-order>div p:last-child{border-bottom:0}.customer-order>footer{background:#05264b}.customer-order>footer b{color:#64c1ff}.account-status{padding:6px 10px;border-radius:20px;font-size:10px;font-weight:800}.status-nuevo{background:#70531b;color:#ffe09a}.status-confirmado{background:#0b4e86;color:#bfe2ff}.status-enviado{background:#45307e;color:#e3d9ff}.status-entregado{background:#075440;color:#65efbb}.status-cancelado{background:#681b2b;color:#ff9cab}.account-empty{display:grid;place-items:center;gap:12px;min-height:210px;color:#93b9dc;text-align:center;font-size:13px}.account-empty i{font-size:34px}
@media(max-width:850px){.customer-auth-shell{grid-template-columns:1fr}.customer-auth-brand{display:none}.customer-auth-card{padding:40px 28px}.account-grid{grid-template-columns:1fr}.account-header{padding:10px 18px}.account-header img{width:120px}.account-header a{display:none}}
@media(max-width:540px){.customer-auth-page{padding:0;background:#fff}.customer-auth-shell{min-height:100vh;border-radius:0}.customer-auth-card{padding:28px 18px}.auth-grid{grid-template-columns:1fr}.account-header button{padding:10px}.account-shell{width:calc(100% - 24px);padding-top:28px}.account-welcome h1{font-size:30px}.account-avatar{width:54px;height:54px}.customer-order>div p{display:grid;gap:4px}.account-card>header{padding:18px}}

/* Seguimiento, recompra y notificaciones del cliente */
.status-pago_pendiente{background:#684717;color:#ffe4a4}
.account-notifications{margin:-8px 0 24px;border:1px solid #0d4d80;border-radius:14px;background:rgba(3,31,62,.95);overflow:hidden}
.account-notifications header{padding:14px 18px;border-bottom:1px solid #0b406b;color:#fff}
.account-notifications article{display:grid;grid-template-columns:170px 1fr auto;gap:15px;padding:12px 18px;color:#aed0ee;border-bottom:1px solid #0a355c;font-size:12px}
.account-notifications article:last-child{border-bottom:0}.account-notifications article.unread{background:rgba(16,112,190,.14)}.account-notifications small{color:#79a7cf}
.order-tracking{display:grid!important;grid-template-columns:repeat(5,1fr);gap:5px;padding:12px 12px 5px!important}
.order-tracking span{display:grid;justify-items:center;gap:5px;color:#688eaf;font-size:9px;text-align:center;position:relative}
.order-tracking span:before{content:'';position:absolute;height:2px;left:-52%;right:52%;top:6px;background:#164267}.order-tracking span:first-child:before{display:none}
.order-tracking span.done{color:#63c6ff}.order-tracking span.done:before{background:#168ade}.order-tracking span.current{font-weight:800;color:#fff}
.tracking-cancelled{grid-column:1/-1;color:#ff9cab!important}.repeat-order{border:1px solid #1875b7;border-radius:8px;padding:8px 10px;background:#0865a8;color:#fff;font-size:11px;font-weight:700}
.customer-order>footer span b{margin-left:7px;color:#64c1ff}
@media(max-width:700px){.account-notifications article{grid-template-columns:1fr;gap:5px}.order-tracking{overflow-x:auto;grid-template-columns:repeat(5,minmax(70px,1fr))}}
