/* SOFTIC Intranet - pages de compte (connexion, mot de passe, erreur) : ecran en deux panneaux */
:root { --night: #0A2540; --night-3: #17416F; --orange: #FF7200; --text: #142033; --muted: #5C6B80; --border: #DCE2EA; --surface: #FFFFFF; --bg: #F2F4F8; }
html[data-theme="dark"] { --text: #E6EDF6; --muted: #93A5BA; --border: #22354E; --surface: #101C2D; --bg: #0A1422; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: 'Space Grotesk', 'Segoe UI', Tahoma, system-ui, sans-serif; font-size: 14px; color: var(--text); background: var(--bg); }
.acc { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.acc-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(28px, 6vw, 84px); color: #fff;
    background: linear-gradient(135deg, var(--night) 0%, var(--night-3) 78%, #1D4F86 100%); }
.acc-brand::before { content: ""; position: absolute; inset-inline-end: -90px; top: -90px; width: 320px; height: 320px; border-radius: 56px; background: var(--orange); opacity: .14; transform: rotate(20deg); }
.acc-brand::after { content: ""; position: absolute; inset-inline-start: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 40px; border: 2px solid rgba(255, 255, 255, .12); transform: rotate(-14deg); }
.acc-logo { height: 40px; align-self: flex-start; margin-bottom: 44px; position: relative; z-index: 1; }
.acc-brand h1 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; font-weight: 600; max-width: 560px; position: relative; z-index: 1; }
.acc-brand p { margin: 0 0 30px; font-size: 16px; opacity: .8; max-width: 520px; position: relative; z-index: 1; }
.acc-brand ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.acc-brand li { display: flex; align-items: center; gap: 12px; opacity: .92; }
.acc-brand li i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 114, 0, .2); color: #FFB066; font-size: 16px; flex: none; }
.acc-brand footer { position: absolute; bottom: 22px; inset-inline-start: clamp(28px, 6vw, 84px); font-size: 12px; opacity: .55; }
.acc-panel { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.acc-card { width: 100%; max-width: 400px; }
.acc-card h2 { margin: 0 0 6px; font-size: 24px; font-weight: 600; }
.acc-sub { margin: 0 0 22px; color: var(--muted); }
.acc-card label { display: block; margin: 14px 0 6px; font-weight: 500; font-size: 13px; }
.acc-card input[type=text], .acc-card input[type=password], .acc-card select { width: 100%; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
    color: var(--text); font-family: inherit; font-size: 14.5px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.acc-card input:focus, .acc-card select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 114, 0, .18); }
.acc-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.acc-check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; color: var(--muted); cursor: pointer; }
.acc-check input { accent-color: var(--orange); width: 16px; height: 16px; }
.acc-submit { display: block; width: 100%; height: 44px; margin-top: 22px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; }
.acc-submit:hover { background: #E86700; }
.acc-submit-link { line-height: 44px; text-decoration: none; }
.acc-link { display: block; margin-top: 14px; text-align: center; color: var(--muted); text-decoration: none; }
.acc-alert { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; margin-bottom: 8px; border-radius: 8px; background: rgba(220, 38, 38, .09); border: 1px solid rgba(220, 38, 38, .35); color: #B91C1C; }
.acc-lang { display: flex; justify-content: center; gap: 14px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); }
.acc-lang a { color: var(--muted); text-decoration: none; font-size: 13px; }
.acc-lang a.is-active { color: var(--orange); font-weight: 600; }
@media (max-width: 860px) {
    .acc { grid-template-columns: minmax(0, 1fr); }
    .acc-brand { padding: 26px 22px; justify-content: flex-start; }
    .acc-brand ul, .acc-brand footer, .acc-brand p { display: none; }
    .acc-logo { margin-bottom: 14px; height: 30px; } .acc-brand h1 { font-size: 20px; margin: 0; }
    .acc-panel { align-items: flex-start; }
}
