/* REY Maní — premium navy & gold design system */
:root{--navy:#102b50;--deep:#081a34;--gold:#e3b34d;--gold-light:#fff4d7;--ink:#162b47;--muted:#73839b;--line:#e7edf5;--bg:#f4f7fc;--shadow:0 12px 36px rgba(12,35,68,.055)}
body{background:var(--bg);color:var(--ink);letter-spacing:-.012em}a{color:#1d508d}button,.button-link{background:linear-gradient(135deg,#e6b64f,#cb952e);color:#172b45;border:1px solid #d9a745;border-radius:12px;box-shadow:0 5px 13px rgba(190,138,38,.16);transition:transform .18s,box-shadow .18s,background .18s;min-height:42px}button:hover:not(:disabled),.button-link:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(190,138,38,.24)}button.secondary{background:#eef3fa;color:#14345b;border-color:#e3eaf5;box-shadow:none}button.ghost{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.23);color:#fff;box-shadow:none}.sidebar{width:260px;background:linear-gradient(175deg,#102e57 0%,#0b2346 50%,#07192f 100%);padding:27px 17px;gap:29px;box-shadow:7px 0 30px rgba(10,30,62,.06)}.brand{padding:8px 6px 21px;border-bottom:1px solid rgba(255,255,255,.13)}.brand img{width:61px;height:61px;border:2px solid #d9a941;box-shadow:0 0 0 4px rgba(232,181,75,.12)}.brand b{font-size:20px;letter-spacing:-.035em}.brand small{color:#e4bf6d}.sidebar nav{gap:5px}.sidebar nav a{border-radius:12px;padding:13px 16px;color:#d4e0f0;transition:.2s}.sidebar nav a:hover{background:rgba(255,255,255,.1);color:white}.sidebar nav a.active{background:linear-gradient(95deg,rgba(228,177,69,.23),rgba(228,177,69,.06));color:#f8d98d;border-left:3px solid #e7b850;padding-left:13px}.sidebar nav a:before{content:'◈';font-size:12px;color:#c6a458;margin-right:11px}.sidebar-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:17px}.content{padding:38px 43px;max-width:1720px}header{margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid #e5eaf3}h1{font-size:33px;letter-spacing:-.045em;color:var(--navy);font-weight:800}h2{font-size:18px;letter-spacing:-.025em;color:var(--navy)}.eyebrow{font-size:12px;color:#8a744b;letter-spacing:.045em;font-weight:700;text-transform:uppercase}.user-pill{background:white;border:1px solid var(--line);box-shadow:var(--shadow);padding:12px 18px;color:var(--navy);font-weight:700}.user-pill:before{content:'●';font-size:9px;color:#d5a33c;margin-right:9px}.stats{gap:18px;margin-bottom:23px}.stat,.panel{border:1px solid #e6ecf5;border-radius:20px;box-shadow:var(--shadow)}.stat{padding:24px 24px 22px;position:relative;overflow:hidden;min-height:154px}.stat:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#e7bd64,#f7e4ad)}.stat:nth-child(2):before{background:linear-gradient(90deg,#123e70,#4b8bc4)}.stat:nth-child(3):before{background:linear-gradient(90deg,#c69a42,#f1d590)}.stat:nth-child(4):before{background:linear-gradient(90deg,#234f7b,#89a9d0)}.stat span{font-weight:700;color:#75859a}.stat strong{font-size:32px;color:#102d55;letter-spacing:-.05em;margin:15px 0 9px}.stat small{font-size:12px}.panel{padding:27px;margin-bottom:20px}.quick{gap:12px}.quick a{background:linear-gradient(135deg,#153d6c,#0d294e);color:white;padding:13px 18px;border-radius:12px;box-shadow:0 7px 17px rgba(12,40,76,.12);transition:.18s}.quick a:first-child{background:linear-gradient(135deg,#f0c66b,#dca33c);color:#172b45}.quick a:hover{transform:translateY(-2px)}table th{background:#f6f8fc;color:#647893;font-size:11px;letter-spacing:.065em;padding:15px 13px}table tr:hover td{background:#f9fbfe}td{padding:15px 13px}td,th{border-bottom:1px solid #eaf0f7}.section-title{gap:12px}label{color:#344d6b}input,select{border:1px solid #dce5f0;border-radius:12px;padding:13px 14px;background:#fbfcff;transition:.2s}input:focus,select:focus{outline:0;border-color:#d9a640;box-shadow:0 0 0 4px rgba(229,183,81,.17)}.pos-layout{grid-template-columns:minmax(0,1.65fr) minmax(345px,.95fr);gap:22px;align-items:start}.pos-layout>.panel:last-child{position:sticky;top:20px}.product-grid{gap:15px}.product{min-height:158px;padding:21px;border-radius:17px;background:linear-gradient(160deg,#fff,#fafcff);border:1px solid #e5ebf3;box-shadow:0 5px 17px rgba(12,35,68,.035);position:relative}.product:before{content:'✦';display:grid;place-items:center;width:35px;height:35px;background:#fff5df;color:#bd8b2e;border-radius:11px;margin-bottom:15px;font-size:19px}.product:hover{background:#fffcf5;border-color:#e0b65e;box-shadow:0 10px 26px rgba(194,150,56,.14)}.product b{font-size:15px;color:#17345a}.product strong{color:#a67a26;font-size:16px}.product small{font-size:12px}.cart-line{border-bottom:1px solid #eaf0f7;padding:15px 0}.total{border-top:2px solid #e3bb67}.total strong{color:#16375f;font-size:29px}.checkout{background:#fff}.login-page{background:radial-gradient(circle at 18% 10%,#285181 0%,transparent 40%),linear-gradient(140deg,#07182f,#12345f)}.login-card{max-width:480px;padding:43px;border:1px solid rgba(228,181,76,.3);box-shadow:0 28px 70px rgba(0,0,0,.22)}.login-card img{border-radius:50%;width:125px;height:125px;border:3px solid #dfb24f;object-fit:cover}.login-card h1{font-size:28px}.access-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}.access-choice{display:flex;align-items:center;justify-content:center;min-height:85px;border:1px solid #e6d6b5;border-radius:16px;background:#fff9ed;color:#183659;font-weight:800;transition:.2s}.access-choice:last-child{background:#eef4fc;border-color:#dce6f4}.access-choice:hover{transform:translateY(-3px);box-shadow:0 9px 20px rgba(12,35,68,.1)}.alert,.success{border-radius:13px;border:1px solid rgba(0,0,0,.04)}.receipt{box-shadow:none}.receipt.panel{box-shadow:var(--shadow)}
@media(max-width:1050px){.sidebar{width:220px}.content{padding:26px}.pos-layout{grid-template-columns:1fr}.pos-layout>.panel:last-child{position:static}}
@media(max-width:720px){.sidebar{width:100%;padding:12px}.brand{padding:4px 5px 9px}.sidebar nav a:before{display:none}.sidebar nav a.active{border-left:0;padding-left:10px;border-bottom:2px solid #e6b651}.sidebar nav a{padding:10px}.content{padding:17px}header{margin-bottom:18px}h1{font-size:27px}.stat{min-height:130px;padding:18px}.stat strong{font-size:25px}.panel{padding:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{padding:13px;min-height:142px}.product:before{width:28px;height:28px;margin-bottom:8px}.quick a{padding:11px 13px}.access-choices{grid-template-columns:1fr}}
@media print{.sidebar,header,.quick{display:none!important}.panel,.stat{box-shadow:none!important}body{background:white}}

/* v1.9 — Login de marca, escritorio y móvil */
.login-page{display:flex;align-items:center;justify-content:center;padding:30px 20px;min-height:100vh;background:radial-gradient(ellipse at 7% 95%,rgba(209,164,75,.16),transparent 40%),linear-gradient(125deg,#06162e,#112e55 62%,#193d68);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.login-shell{width:min(1080px,100%);min-height:640px;display:grid;grid-template-columns:1.05fr 1fr;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 35px 110px rgba(0,0,0,.28);border:1px solid rgba(238,205,141,.23)}
.login-showcase{background:radial-gradient(circle at 95% 15%,rgba(245,196,94,.13),transparent 42%),linear-gradient(160deg,#153965,#081c38);color:white;padding:44px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.login-showcase:after{content:'';position:absolute;width:420px;height:420px;border:1px solid rgba(244,196,93,.12);border-radius:50%;bottom:-210px;right:-160px;box-shadow:0 0 0 65px rgba(244,196,93,.025),0 0 0 130px rgba(244,196,93,.02);pointer-events:none}
.showcase-top{display:flex;align-items:center;gap:11px;color:#e8c27b;font-size:10px;font-weight:800;letter-spacing:.16em}.showcase-symbol{font-size:27px}.showcase-center{position:relative;z-index:1}.showcase-kicker{font-size:11px;letter-spacing:.18em;color:#e7c57f;font-weight:750}.showcase-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#e7c57f;vertical-align:middle;margin:0 6px}.showcase-center h2{color:#fff;font-size:clamp(33px,3.7vw,53px);line-height:1.12;letter-spacing:-.055em;margin:23px 0;font-weight:800}.showcase-center h2 em{color:#eac579;font-style:normal}.showcase-center p{max-width:350px;font-size:15px;line-height:1.8;color:#c5d3e7}.showcase-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:34px}.showcase-chips span{border:1px solid rgba(231,196,127,.35);background:rgba(255,255,255,.05);padding:9px 11px;border-radius:50px;color:#f2dfb7;font-size:11px;font-weight:700}.showcase-bottom{font-size:10px;letter-spacing:.12em;color:#b6c8df;display:flex;gap:13px;align-items:center}.showcase-line{height:1px;width:30px;background:#dcb96c}
.login-shell .login-card{width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;margin:0;padding:42px 48px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;text-align:left;background:#fff}.login-identity{text-align:center;margin-bottom:33px}.login-logo{display:flex;justify-content:center}.login-shell .login-logo img{width:108px;height:108px;object-fit:contain;border:0;border-radius:50%;box-shadow:0 6px 22px rgba(18,44,78,.13)}.login-name{font-size:15px;letter-spacing:.14em;font-weight:800;color:#12335b;margin-top:16px}.login-name strong{color:#bb8b32}.login-name-sub{font-size:9px;letter-spacing:.18em;color:#8897a8;margin-top:7px;font-weight:800}.login-overline{font-size:10px;letter-spacing:.15em;font-weight:800;color:#b28b43}.login-intro h1{font-size:30px;margin:9px 0;color:#102b50;line-height:1.2;letter-spacing:-.05em}.login-intro p{font-size:14px;color:#728298;margin:10px 0 0}.login-shell .access-choices{display:grid;grid-template-columns:1fr;gap:12px;margin-top:27px}.login-shell .access-choice,.login-shell .access-choice:last-child{display:flex;justify-content:flex-start;align-items:center;gap:15px;min-height:82px;padding:14px 17px;border:1px solid #e4eaf2;border-radius:15px;background:#f8fafd;box-shadow:none;color:#163456;transition:all .2s;text-decoration:none}.login-shell .access-choice:hover,.login-shell .access-choice.selected{background:#fffaf0;border-color:#dfbb71;transform:translateY(-2px);box-shadow:0 9px 22px rgba(32,56,84,.07)}.access-icon{height:48px;width:48px;border-radius:12px;background:#eaf0f8;display:grid;place-items:center;color:#153a67;flex-shrink:0}.access-choice:first-child .access-icon{background:#fff0ce;color:#a57720}.access-icon svg{width:23px;height:23px}.access-copy{display:flex;flex-direction:column;gap:5px;text-align:left}.access-copy strong{font-size:15px;font-weight:800}.access-copy small{font-size:11px;font-weight:500;color:#77889d}.access-arrow{margin-left:auto;color:#a7b2c1;font-size:22px}.login-form-heading{display:flex;align-items:center;justify-content:space-between;margin-top:23px;gap:8px}.login-form-heading h2{font-size:16px;margin:0}.change-profile{font-size:12px;color:#9b762c;font-weight:700}.login-shell .login-card form{margin-top:12px}.login-shell .login-card form button{width:100%;margin-top:15px}.login-footnote{text-align:center;color:#a2adba;font-size:11px;margin-top:28px}.login-shell .login-card .alert{margin-top:18px}
@media(max-width:800px){.login-shell{max-width:520px;min-height:auto;grid-template-columns:1fr}.login-showcase{display:none}.login-shell .login-card{padding:35px 27px}.login-page{padding:16px}.login-intro h1{font-size:27px}.login-identity{margin-bottom:28px}}
@media(max-width:380px){.login-shell .login-card{padding:25px 18px}.login-intro h1{font-size:24px}.login-shell .access-choice{padding:12px}}
