/* Login / two-step / licence pages: one look, every screen. No framework, no external file (icons are inline SVG). */
:root { --navy: #082c47; --teal: #0b8f87; --teal2: #14a39a; --ink: #1c2733; --mute: #5b6a78; --line: #d5dee6; --soft: #f3f7fa; --red: #c0392b; --amber: #b27a00; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.lg-body { min-height: 100vh; min-height: 100dvh; font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--soft); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
.lg-body a { color: var(--teal); }

/* two columns: brand + form */
.lg-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.lg-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 68px); color: #fff;
    background: radial-gradient(1100px 560px at -8% -12%, rgba(255, 255, 255, .14), transparent 62%), linear-gradient(145deg, #082c47 0%, #0a5560 52%, #12988f 100%); }
.lg-brand:before { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.lg-brand:after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 54px solid rgba(255, 255, 255, .05); }
.lg-brand > * { position: relative; z-index: 1; }
.lg-logo { display: inline-flex; align-items: center; gap: 14px; }
.lg-mark { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 15px; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); overflow: hidden; }
.lg-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lg-co { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: .2px; overflow-wrap: anywhere; }
.lg-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; }
.lg-hero p { margin: 0; max-width: 520px; font-size: clamp(15px, 1.3vw, 17px); color: rgba(255, 255, 255, .86); }
.lg-feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.lg-feats li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(255, 255, 255, .95); }
.lg-feats .ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; }
.lg-feats svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-bfoot { font-size: 12.5px; color: rgba(255, 255, 255, .7); }

.lg-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: clamp(20px, 4vw, 52px); }
.lg-card { width: 100%; max-width: 440px; padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: #fff; border: 1px solid #e6edf2; box-shadow: 0 18px 50px rgba(8, 44, 71, .14); }
.lg-card h2 { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.2px; color: #0f2d44; }
.lg-card .lg-lead { margin: 0 0 22px; font-size: 14.5px; color: var(--mute); }
.lg-f { margin: 0 0 16px; }
.lg-f label { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: #24364a; }
.lg-f label small { font-weight: 400; color: #8393a3; }
.lg-in { position: relative; }
.lg-in svg.lg-ico { position: absolute; left: 15px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: #8a9bab; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.lg-in input[type=text], .lg-in input[type=password] { width: 100%; height: 52px; padding: 0 48px 0 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdfe; color: var(--ink); font: inherit; font-size: 16px; outline: 0; transition: border-color .15s, box-shadow .15s, background .15s; }
.lg-in input:hover { border-color: #b9c8d4; }
.lg-in input:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(11, 143, 135, .15); }
.lg-eye { position: absolute; right: 6px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-eye:hover { background: #eef3f7; }
.lg-eye svg { width: 20px; height: 20px; fill: none; stroke: #6c7e8e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-caps { display: none; margin: 6px 0 0; font-size: 12.5px; color: var(--amber); font-weight: 600; }
.lg-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 6px; border: 0; border-radius: 13px; background: linear-gradient(180deg, #14a39a, #0b8f87); color: #fff; font: inherit; font-size: 16.5px; font-weight: 800; letter-spacing: .3px; cursor: pointer; box-shadow: 0 10px 24px rgba(11, 143, 135, .35); transition: transform .12s, box-shadow .12s, filter .12s; }
.lg-body a.lg-btn { color: #fff; }
.lg-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(11, 143, 135, .42); filter: brightness(1.03); }
.lg-btn:active { transform: translateY(0); }
.lg-btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.lg-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-btn.ghost { background: #fff; color: var(--teal); border: 1.5px solid #b7dcd9; box-shadow: none; }
.lg-btn.ghost svg { stroke: var(--teal); }
.lg-al { display: flex; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; border-left: 4px solid; font-size: 14px; line-height: 1.5; }
.lg-al svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lg-al .hi { display: block; margin-top: 2px; font-size: 13px; opacity: .92; }
.lg-al.err { background: #fdeceb; border-color: #d9534f; color: #8e2a22; }
.lg-al.warn { background: #fff6dd; border-color: #e0a100; color: #6e4f00; }
.lg-al.info { background: #e8f4f3; border-color: var(--teal); color: #0a5a54; }
.lg-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #edf2f5; font-size: 12.5px; color: #7a8a99; text-align: center; }
.lg-note svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: #7a8a99; stroke-width: 1.8; }
.lg-foot { font-size: 12.5px; color: #8393a3; text-align: center; }
.lg-link { display: block; margin-top: 16px; text-align: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.lg-link:hover { text-decoration: underline; }

/* two-step code */
.lg-code { text-align: center; font-size: 30px !important; letter-spacing: 8px; font-weight: 700; padding: 0 12px !important; }
.lg-check { display: flex; align-items: center; gap: 10px; margin: 2px 0 16px; font-size: 14px; color: #33414f; cursor: pointer; }
.lg-check input { width: 18px; height: 18px; accent-color: var(--teal); }

/* licence expired: one centred card */
.lg-solo { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(1100px 560px at -8% -12%, rgba(255, 255, 255, .14), transparent 62%), linear-gradient(145deg, #082c47 0%, #0a5560 52%, #12988f 100%); }
.lg-solo .lg-card { max-width: 560px; text-align: center; box-shadow: 0 18px 50px rgba(8, 44, 71, .3), inset 0 6px 0 var(--red); padding-top: clamp(30px, 4vw, 46px); }
.lg-bigic { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: #fdeceb; display: flex; align-items: center; justify-content: center; }
.lg-bigic svg { width: 36px; height: 36px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-solo p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: #33414f; }
.lg-solo .lg-hi { padding-top: 12px; border-top: 1px dashed #cfd8e0; }
.lg-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 16px 0 20px; padding: 12px 14px; border-radius: 12px; background: #f1f5f8; font-size: 14.5px; font-weight: 600; }
.lg-contact a { color: #0f2d44; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.lg-contact svg { width: 17px; height: 17px; fill: none; stroke: var(--teal); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lg-prev { margin: -6px 0 14px; padding: 6px 10px; border-radius: 8px; background: #fff1d0; color: #8a5a00; font-size: 12.5px; font-weight: 700; }

/* tablets and phones: the brand becomes a header, the card comes up over it */
@media (max-width: 900px) {
    .lg-shell { grid-template-columns: 1fr; }
    .lg-brand { padding: 22px 20px 56px; gap: 14px; }
    .lg-hero h1 { font-size: 24px; margin-bottom: 6px; }
    .lg-hero p { font-size: 14px; }
    .lg-feats, .lg-bfoot { display: none; }
    .lg-main { justify-content: flex-start; padding: 0 16px 24px; margin-top: -34px; position: relative; z-index: 2; }
    .lg-card { padding: 24px 20px; }
}
@media (max-width: 380px) { .lg-card { padding: 20px 16px; border-radius: 18px; } .lg-in input[type=text], .lg-in input[type=password] { height: 50px; } }
/* a short screen (a phone turned sideways): nothing is cut, the page scrolls */
@media (max-height: 560px) and (min-width: 901px) { .lg-feats { display: none; } .lg-shell, .lg-solo { min-height: 0; } }
@media (min-width: 1700px) { .lg-card { max-width: 480px; } }
@media (prefers-reduced-motion: reduce) { .lg-btn, .lg-in input { transition: none; } .lg-btn:hover { transform: none; } }
