/* CPROT Asistencia: identidad oscura azul / plata, compatible con la marca de cada empresa. */
:root{color-scheme:dark;--bg:#07111e;--panel:#0e1c2f;--panel2:#12253c;--edge:#2a435f;--ink:#eaf5ff;--muted:#a3bad1;--electric:#28bdff;--cyan:#65d8ff;background:var(--bg);color:var(--ink)}
body{background:var(--bg);color:var(--ink)}
h1,h2,h3{color:var(--ink)}small,.muted{color:var(--muted)}label{color:#bad1e6}
hr{border-top-color:var(--edge)}
input,select,textarea{background:#0e1d30;color:#f2f9ff;border:1px solid #33536f;border-radius:12px}
input::placeholder,textarea::placeholder{color:#7c9bb5}
input:focus,select:focus,textarea:focus{border-color:#35c0ff;box-shadow:0 0 0 3px #249ce83e}
button.primary{background:linear-gradient(120deg,#138af0,#3ac8ff);color:#041321;border:1px solid #62d1ff;box-shadow:0 7px 23px #009ce431}
button.primary:hover{background:linear-gradient(120deg,#36a6ff,#6cdeff)}
button.secondary{background:#152941;color:#e4f4ff;border-color:#365675}
button.secondary:hover{background:#1a3954}
button.ghost{color:#c4e6ff}button.link{color:#65d7ff}
button.danger{background:#3c2328;color:#ffb4c1;border-color:#8a5260}
.brand img{object-fit:contain;border-radius:0;background:none;filter:drop-shadow(0 4px 10px #0007)}
.brand b{color:#f2f9ff}.brand span{color:#83d7ff}
.panel,.stat{background:linear-gradient(150deg,#112135,#0d1929);color:#eef8ff;border:1px solid #2a445d;box-shadow:0 12px 30px #0002,inset 0 1px #ffffff09}
.stat strong{color:#f5fbff}
.pill{background:#11334c;color:#a6e5ff;border:1px solid #2a6587}
.pill.warn{background:#463819;color:#ffdf9e;border-color:#86672e}
.pill.off{background:#48252d;color:#ffd4d4;border-color:#985560}
.notice{background:#103049;color:#d6edff;border-color:#336c94}
.notice.error{background:#492832;color:#ffced5;border-color:#985363}
.login-layout{background:#081321}
.login-cover{position:relative;overflow:hidden;background:radial-gradient(circle at 2% 0%,#16477799,transparent 52%),radial-gradient(circle at 95% 90%,#0070ab35,transparent 43%),linear-gradient(140deg,#0a172a,#050a12);border-right:1px solid #29415c}
.login-cover:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.23;background-image:linear-gradient(#65c7ff27 1px,transparent 1px),linear-gradient(90deg,#65c7ff27 1px,transparent 1px);background-size:50px 50px}
.login-cover>*{position:relative;z-index:1}
.login-cover h1{color:#f4faff}.login-cover p{color:#b7cee4}
.login-cover .brand img{width:90px;height:90px}
.login-main{background:radial-gradient(circle at 100% 0%,#17446860,transparent 60%),#080f1b}
.login-box{padding:clamp(22px,3vw,35px);background:linear-gradient(140deg,#121f33,#0b1627);border:1px solid #2e4662;border-radius:22px;box-shadow:0 16px 60px #0005}
.site-footer{color:#8db1c9}
.kiosk{position:relative;background:radial-gradient(ellipse at 0% 0%,#12467691,transparent 48%),radial-gradient(ellipse at 100% 90%,#075d9145,transparent 45%),linear-gradient(130deg,#07101e,#0b192b)}
.kiosk:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.2;background-image:linear-gradient(#8bccff25 1px,transparent 1px),linear-gradient(90deg,#8bccff25 1px,transparent 1px);background-size:60px 60px}
.kiosk>*{position:relative;z-index:1}
.kiosk-header{border-bottom:1px solid #254965;padding-bottom:14px}
.kiosk .brand img{width:76px;height:76px}
.kiosk .brand span{color:#84d6ff}
.kiosk-content{max-width:1260px;gap:36px}
.clock .time{color:#f6fbff;text-shadow:0 0 34px #149deb44}
.clock .date{color:#98c8e6}
.kiosk-form{background:linear-gradient(145deg,#10263fc9,#0e1d31e0);border:1px solid #315a7a;box-shadow:0 15px 50px #0005}
.kiosk-form h2{color:#f2f9ff}.kiosk-form p,.kiosk-form label{color:#bbd4e7}
.kiosk-form input{background:#0c192b;color:#f5fbff;border-color:#355471}
.event-choice{background:#11263e;color:#d9efff;border:1px solid #345873}
.event-choice:hover{background:#1a3653}
.event-choice.active,.event-choice.active:hover{background:#13446a;color:#f5fbff;border-color:#4fd1ff;box-shadow:0 0 0 1px #4fd1ff42}
.kiosk-form button.primary,.kiosk-form button.primary:hover{background:linear-gradient(110deg,#138de9,#38cbff);color:#051523;border:1px solid #68d6ff}
.camera-frame{background:#030b13;border:1px solid #355878;box-shadow:0 14px 42px #0005}
.camera-empty{color:#a9c4d9}.camera-label{color:#c8f2ff;border:1px solid #307da7;background:#091c30d8}
.camera-cta{background:#17405d;border-color:#3c8ab9;color:white}
.last-checkin{background:#102039;border:1px solid #2c4b68}
.last-checkin small{color:#b0c9df}
.kiosk .notice{background:#153b58;color:#e0f2ff;border:1px solid #39769c}
.kiosk .notice.error{background:#512a32;color:#ffdde3;border-color:#b25865}
.exit-tiny{color:#9cb9d0;border-color:#54799566}
.sidebar{background:linear-gradient(180deg,#0b1a30,#0a1425);color:#f2faff;border-right:1px solid #29465f}
.sidebar nav button{color:#b5cbe0}
.sidebar nav button.active,.sidebar nav button:hover{background:#173e61;color:white;box-shadow:inset 3px 0 #41c9ff}
.vendor-mark{color:#76ccff;letter-spacing:.14em}
.platform-brand{display:flex;align-items:center;gap:10px;padding:4px 3px 13px;border-bottom:1px solid #2c4863}
.platform-brand img{width:51px;height:51px;object-fit:contain;filter:drop-shadow(0 3px 8px #0007)}
.platform-brand strong{display:block;font:800 21px 'Space Grotesk',sans-serif;letter-spacing:.07em;color:#f5fbff}
.platform-brand small{display:block;font-size:10px;color:#8fbad9;letter-spacing:.015em}
.company-brand{background:#152940;border:1px solid #2b4861;border-radius:13px;padding:10px}
.company-brand .brand img{width:40px;height:40px}
.company-brand .brand b{font-size:12px}
.company-switch label{color:#b2cade}
.company-switch select{background:#152c45;color:#eaf7ff;border:1px solid #365773}
.main-admin{background:radial-gradient(circle at 92% -2%,#193f614d,transparent 55%),#08111e}
.main-admin h1{color:#f3f9ff}.main-admin p.subtitle{color:#9ebbd3}
th{color:#9abed8;border-bottom:1px solid #29435e}
td{color:#e3f1ff;border-bottom:1px solid #253c53}
.toast{background:#123b5f;color:#f3fbff;border:1px solid #337dae}
.modal-screen{background:#020a14cb;backdrop-filter:blur(6px)}
.modal-card{background:#112038;color:#edf8ff;border:1px solid #34536f}
.modal-card h2,.modal-card h3{color:#edf8ff}
.receipt{background:white;color:#18242e}
.receipt h1,.receipt h2,.receipt h3,.receipt td,.receipt th,.receipt strong{color:#18242e}
.receipt .brand b{color:#16253a}.receipt .brand span{color:#356b8a}
.receipt-header{border-bottom-color:#1b92d2}
@media(max-width:950px){.sidebar{border-right:0;border-bottom:1px solid #29465f}.sidebar nav button.active,.sidebar nav button:hover{box-shadow:inset 0 -3px #41c9ff}}
@media(max-width:590px){.kiosk .brand img{width:48px;height:48px}.kiosk-form{padding:18px}.login-box{padding:22px}}
@media print{:root{color-scheme:light}body{background:white!important;color:#111!important}.receipt,.receipt h1,.receipt h2,.receipt h3,.receipt td,.receipt th,.receipt strong{color:#111}}
