/* Security Patrol - Modern Login | PHP 7.4 + CI3 | No external CSS dependencies */
:root { --spl-ink:#263653; --spl-muted:#7585a1; --spl-purple:#625bff; --spl-border:#e5eaf3; }
*, *::before, *::after { box-sizing:border-box; }
html { min-height:100%; }
body.spl-page { margin:0; min-width:320px; min-height:100vh; background:radial-gradient(ellipse at 8% 6%,#eaeaff 0,transparent 36%),radial-gradient(ellipse at 98% 94%,#e8eefd 0,transparent 45%),#f5f7fc; color:var(--spl-ink); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
.spl-page button,.spl-page input { font:inherit; }
.spl-page svg { display:block; width:20px; height:20px; }
.spl-layout { max-width:1100px; margin:0 auto; padding:42px 24px 24px; }
.spl-topbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:27px; }
.spl-brand { display:flex; align-items:center; gap:13px; }
.spl-brand-mark { width:46px; height:46px; flex:0 0 46px; display:grid; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(150deg,#7873ff,#5451ea); box-shadow:0 8px 19px rgba(96,91,244,.18); }
.spl-brand-mark svg { width:25px; height:25px; }
.spl-brand-copy { display:flex; flex-direction:column; line-height:1.22; }
.spl-brand-copy strong { font-size:16px; font-weight:800; letter-spacing:-.35px; color:#24385a; }
.spl-brand-copy small { margin-top:4px; color:#8794ac; font-size:12px; letter-spacing:.12px; }
.spl-topbar-label { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; border:1px solid #e5e9f6; background:rgba(255,255,255,.83); border-radius:99px; padding:10px 14px; color:#65738e; font-size:12px; font-weight:700; }
.spl-status-dot { width:7px; height:7px; background:#706bff; border-radius:50%; box-shadow:0 0 0 3px #eeedff; }
.spl-card { display:grid; grid-template-columns:40% 60%; min-height:630px; background:#fff; border:1px solid #edf0f7; border-radius:25px; overflow:hidden; box-shadow:0 30px 75px rgba(29,44,87,.075),0 5px 20px rgba(36,53,83,.035); }
.spl-hero { background:linear-gradient(145deg,#6563f8 0%,#504fe1 46%,#3332a2 100%); color:#fff; padding:38px 34px 28px; display:flex; flex-direction:column; justify-content:space-between; position:relative; isolation:isolate; overflow:hidden; }
.spl-hero:before { content:""; position:absolute; z-index:-1; width:340px; height:340px; border:1px solid rgba(255,255,255,.12); border-radius:50%; top:-120px; right:-215px; box-shadow:0 0 0 65px rgba(255,255,255,.025),0 0 0 130px rgba(255,255,255,.018); }
.spl-hero:after { content:""; position:absolute; z-index:-1; width:260px; height:260px; background:radial-gradient(circle,rgba(145,152,255,.5),transparent 70%); left:-150px; bottom:5%; pointer-events:none; }
.spl-kicker { display:inline-flex; align-items:center; gap:8px; color:#e3e3ff; font-size:10px; font-weight:800; letter-spacing:1.7px; }
.spl-kicker-dot { width:7px; height:7px; border-radius:50%; background:#b8fcdd; box-shadow:0 0 12px rgba(142,255,207,.6); }
.spl-art { margin:35px 0 34px; min-height:200px; display:grid; place-items:center; position:relative; }
.spl-art-ring { position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,.16); }
.spl-art-ring-outer { width:200px; height:200px; }
.spl-art-ring-inner { width:150px; height:150px; border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.025); }
.spl-art-shield { display:grid; place-items:center; z-index:1; width:98px; height:98px; border-radius:26px; background:rgba(255,255,255,.22); border:1px solid rgba(255,255,255,.27); box-shadow:0 12px 36px rgba(18,15,107,.13),inset 0 1px 1px rgba(255,255,255,.3); }
.spl-art-shield svg { width:50px; height:50px; }
.spl-art-spark { position:absolute; border-radius:50%; background:#d9d7ff; box-shadow:0 0 18px rgba(255,255,255,.45); }
.spl-art-spark-a { width:8px; height:8px; top:16px; right:24%; }
.spl-art-spark-b { width:5px; height:5px; bottom:32px; left:24%; }
.spl-hero h1 { font-size:30px; font-weight:800; line-height:1.28; letter-spacing:-1.12px; margin:0 0 14px; color:#fff; }
.spl-hero h1 span { color:#d6d5ff; }
.spl-hero p { font-size:13px; line-height:1.8; color:#dfdfff; margin:0 0 23px; max-width:320px; }
.spl-features { display:flex; flex-direction:column; gap:10px; }
.spl-feature { display:flex; align-items:center; gap:10px; font-size:12px; line-height:1.5; color:#e8e7ff; }
.spl-feature-icon { width:29px; height:29px; flex:0 0 29px; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.12); }
.spl-feature-icon svg { width:16px; height:16px; }
.spl-hero-footer { display:flex; gap:9px; align-items:center; margin-top:28px; font-size:10px; font-weight:750; letter-spacing:1.2px; color:#b8bbff; }
.spl-footer-dot { width:6px; height:6px; border-radius:50%; background:#b6b3ff; }
.spl-form-panel { display:flex; flex-direction:column; justify-content:space-between; padding:43px 49px 33px; min-width:0; }
.spl-form-content { max-width:500px; width:100%; margin:auto; }
.spl-heading-row { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:32px; }
.spl-section-label { margin-bottom:12px; font-size:10px; color:#716cff; letter-spacing:1.65px; font-weight:800; }
.spl-heading-row h2 { margin:0 0 9px; font-size:30px; line-height:1.25; color:#233659; letter-spacing:-.85px; font-weight:800; }
.spl-heading-row p { margin:0; max-width:430px; color:#8491a8; font-size:13px; line-height:1.75; }
.spl-title-lock { display:grid; place-items:center; width:41px; height:41px; flex:0 0 41px; border-radius:13px; background:#f1f0ff; color:#6861f7; }
.spl-title-lock svg { width:21px; height:21px; }
.spl-alert { display:flex; align-items:flex-start; gap:11px; margin-bottom:23px; padding:13px 14px; border-radius:11px; color:#ac3a48; background:#fff1f3; border:1px solid #ffd4da; font-size:12px; line-height:1.6; }
.spl-alert svg { flex:0 0 19px; width:19px; height:19px; margin-top:1px; }
.spl-alert div { display:flex; flex-direction:column; }
.spl-alert strong { font-weight:800; }
.spl-alert span { overflow-wrap:anywhere; }
.spl-field { margin-bottom:22px; }
.spl-field > label { display:block; margin-bottom:9px; color:#3d5072; font-size:12px; line-height:1.4; font-weight:750; }
.spl-required { color:#fa6375; }
.spl-input-wrap { position:relative; }
.spl-input-wrap input { display:block; width:100%; height:52px; min-height:52px; margin:0; background:#fff; color:#243653; outline:0; border:1px solid #dfe5ef; border-radius:11px; padding:0 49px 0 46px; font-size:13px; line-height:1.4; font-weight:500; transition:box-shadow .15s,border-color .15s; }
.spl-input-wrap input::placeholder { color:#aab5c5; font-weight:400; }
.spl-input-wrap input:hover { border-color:#c7cde0; }
.spl-input-wrap input:focus { border-color:#7770ff; box-shadow:0 0 0 3px rgba(105,99,249,.115); }
.spl-input-icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:#93a2ba; pointer-events:none; }
.spl-input-icon svg { width:19px; height:19px; }
.spl-toggle { display:grid; place-items:center; width:43px; height:44px; padding:0; position:absolute; right:5px; top:50%; transform:translateY(-50%); color:#97a4b9; background:transparent; border:0; border-radius:9px; cursor:pointer; }
.spl-toggle:hover,.spl-toggle:focus-visible { color:#625bff; background:#f2f1ff; outline:0; }
.spl-toggle svg { width:20px; height:20px; }
.spl-toggle .spl-eye-off { display:none; }
.spl-toggle[aria-pressed="true"] .spl-eye { display:none; }
.spl-toggle[aria-pressed="true"] .spl-eye-off { display:block; }
.spl-submit { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; height:52px; margin-top:28px; border:0; border-radius:11px; background:linear-gradient(100deg,#7470ff 0%,#605bf3 70%,#5e56e9 100%); color:#fff; box-shadow:0 8px 18px rgba(97,92,242,.2); cursor:pointer; font-size:13px; font-weight:800; transition:transform .16s,box-shadow .16s,filter .16s; }
.spl-submit:hover { filter:brightness(1.04); box-shadow:0 11px 24px rgba(97,92,242,.28); transform:translateY(-1px); }
.spl-submit:focus-visible { outline:3px solid rgba(105,99,249,.3); outline-offset:3px; }
.spl-submit:disabled { opacity:.72; cursor:wait; transform:none; box-shadow:none; }
.spl-submit-icon svg, .spl-submit-arrow svg { width:18px; height:18px; }
.spl-submit-arrow { margin-left:2px; }
.spl-form-help { display:flex; align-items:flex-start; gap:10px; background:#f9faff; border:1px solid #edf0f9; border-radius:12px; margin-top:27px; padding:14px 15px; }
.spl-help-icon { flex:0 0 19px; color:#8582f6; margin-top:1px; }
.spl-help-icon svg { width:19px; height:19px; }
.spl-form-help p { margin:0; color:#7f8ba4; font-size:11px; line-height:1.65; }
.spl-panel-footer { display:flex; gap:7px; align-items:center; justify-content:center; border-top:1px solid #eef1f7; padding-top:20px; margin-top:30px; color:#9ea9bc; font-size:10.5px; text-align:center; line-height:1.5; }
.spl-panel-lock svg { width:14px; height:14px; }
.spl-page-footer { margin:22px auto 0; text-align:center; font-size:11px; color:#9da9be; }
.spl-page-footer span { padding:0 7px; }
@media (max-width:900px) { .spl-layout { max-width:760px; } .spl-card { grid-template-columns:36% 64%; } .spl-hero { padding:33px 23px 27px; } .spl-hero h1 { font-size:26px; } .spl-form-panel { padding:34px 29px 27px; } .spl-art { margin:32px 0 30px; height:170px; min-height:170px; } .spl-art-ring-outer { width:165px; height:165px; } .spl-art-ring-inner { width:124px; height:124px; } .spl-art-shield { width:85px; height:85px; } }
@media (max-width:660px) { .spl-layout { padding:18px 14px 20px; } .spl-topbar { margin-bottom:16px; } .spl-brand-mark { width:40px; height:40px; flex-basis:40px; border-radius:12px; } .spl-brand-mark svg { width:23px; height:23px; } .spl-brand-copy strong { font-size:14px; } .spl-brand-copy small { font-size:10px; } .spl-topbar-label { padding:8px 11px; font-size:10px; } .spl-card { display:block; border-radius:20px; min-height:0; } .spl-hero { padding:17px 20px; min-height:0; } .spl-hero-body { display:flex; flex-wrap:wrap; align-items:center; gap:7px; } .spl-kicker { width:100%; font-size:9px; letter-spacing:1.3px; margin-bottom:4px; } .spl-art, .spl-features, .spl-hero-footer { display:none; } .spl-hero h1 { margin:0; font-size:18px; line-height:1.28; letter-spacing:-.45px; } .spl-hero h1 br { display:none; } .spl-hero h1 span { color:#d5d5ff; } .spl-hero p { display:none; } .spl-form-panel { padding:27px 21px 25px; } .spl-form-content { max-width:none; } .spl-heading-row { margin-bottom:26px; } .spl-heading-row h2 { font-size:26px; } .spl-heading-row p { font-size:12px; } .spl-field { margin-bottom:20px; } .spl-form-help { margin-top:24px; } .spl-panel-footer { margin-top:26px; } }
@media (max-width:390px) { .spl-layout { padding:12px 10px; } .spl-brand-copy small { max-width:160px; } .spl-form-panel { padding:24px 15px; } .spl-topbar-label { padding:10px; font-size:0; border-radius:50%; } .spl-topbar-label .spl-status-dot { width:8px; height:8px; } .spl-heading-row h2 { font-size:24px; } .spl-title-lock { flex-basis:37px; width:37px; height:37px; } .spl-hero h1 { font-size:16px; } }
@media (prefers-reduced-motion:reduce) { .spl-page * { transition:none !important; } }
