/* ============ Corlusu login page styles (external for strict CSP) ============ */
@font-face{font-family:"DM Sans";src:url(/assets/fonts/DMSans-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/assets/fonts/DMSans-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/assets/fonts/DMSans-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"PP Agrandir";src:url(/assets/fonts/PPAgrandir-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:#000}

.stables-auth{
  --bg:#000;--card:#131315;--field:#0e0e10;--border:#2e2e34;--card-border:#1e1e22;
  --text:#fff;--muted:#8a8a8a;--accent:#c3b7ff;--accent-text:#0a0a0a;--neutral300:#c8c8cf;
  --radius:20px;--pill:31px;
  --font:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --display:"PP Agrandir","DM Sans",-apple-system,sans-serif;
  font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;
}
.stables-auth .wrap{gap:32px;min-height:100vh;padding:32px;display:flex}

.stables-auth .left{background:#000;border-radius:24px;flex:1.15 1 0;position:relative;overflow:hidden}
.stables-auth .left video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}
.stables-auth .left-overlay{z-index:1;background:#00000073;position:absolute;inset:0}
.stables-auth .hero{z-index:2;position:absolute;top:50%;left:8%;right:8%;transform:translateY(-50%)}
.stables-auth .hero h1{font-family:var(--display);letter-spacing:-.03em;margin:0 0 16px;font-size:64px;font-weight:700;line-height:1.1}
.stables-auth .hero p{font-family:var(--font);color:var(--neutral300);margin:0;font-size:18px;font-weight:400;line-height:1.2}

.stables-auth .right{flex:1 1 0;justify-content:center;align-items:center;display:flex}
.stables-auth .card{background:var(--card);border:1px solid var(--card-border);border-radius:28px;flex-direction:column;width:100%;max-width:560px;padding:48px;display:flex}
.stables-auth .card-inner{width:100%;max-width:420px;margin:0 auto}
.stables-auth .logo{display:flex;align-items:center;gap:11px;margin-bottom:40px}
.stables-auth .logo .logo-mark{height:30px;width:auto;flex-shrink:0}
.stables-auth .logo .logo-mark svg{display:block}
.stables-auth .logo .logo-word{font-family:var(--display);font-size:27px;font-weight:700;letter-spacing:-.02em;color:#fff}
.stables-auth .card h2{font-family:var(--display);margin:0 0 8px;font-size:26px;font-weight:700}
.stables-auth .sub{font-family:var(--font);color:var(--neutral300);margin:0 0 32px;font-size:16px;font-weight:400;line-height:1.2}
.stables-auth label{margin:0 0 8px;font-size:15px;font-weight:500;display:block}
.stables-auth .field{background:var(--field);border:1px solid var(--border);border-radius:var(--radius);width:100%;color:var(--text);font-family:var(--font);outline:none;margin-bottom:20px;padding:14px 16px;font-size:16px;font-weight:400;transition:border-color .15s}
.stables-auth .field::placeholder{color:var(--muted)}
.stables-auth .field:focus{border-color:var(--accent)}
.stables-auth .btn{cursor:pointer;width:100%;font-family:var(--font);border-radius:var(--pill);border:none;padding:16px;font-size:16px;font-weight:700;transition:opacity .15s,transform 50ms}
.stables-auth .btn-primary{background:var(--accent);color:var(--accent-text);margin-top:4px}
.stables-auth .btn-primary:hover{opacity:.9}
.stables-auth .btn-primary:active{transform:translateY(1px)}
.stables-auth .btn[disabled]{opacity:.55;cursor:default}
.stables-auth .error{color:#ffb3b3;background:#ff4d4f1f;border:1px solid #ff4d4f66;border-radius:14px;margin-bottom:20px;padding:12px 14px;font-size:14px;line-height:1.4}
.stables-auth .notice{color:#ffe3a3;background:#ffc53d1f;border:1px solid #ffc53d66;border-radius:14px;margin-bottom:20px;padding:12px 14px;font-size:14px;line-height:1.4}
.stables-auth .foot{color:var(--muted);text-align:center;margin-top:24px;font-size:13px;line-height:1.5}
.stables-auth .foot a{color:var(--muted);text-decoration:none}
.stables-auth .foot a:hover{color:var(--accent)}
.stables-auth .linkrow{text-align:center;color:var(--muted);margin:16px 0 0;font-size:14px;font-weight:500}

@media (max-width:960px){
  .stables-auth .wrap{flex-direction:column;padding:16px}
  .stables-auth .left{display:none}
  .stables-auth .right{flex:auto;align-items:center}
  .stables-auth .card{padding:32px 24px}
}
