/* =============================================================================
   CentSay login — full-bleed split-screen (WFXL-inspired), Vault Teal.
   Left: dark teal brand panel w/ faint blueprint grid. Right: light form card.
   ============================================================================= */
.cs-login-body { margin: 0; font-family: var(--font-family-body, 'Inter', system-ui, sans-serif); }
.cs-login { display: flex; min-height: 100vh; }

/* Brand panel */
.cs-login__brand {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    color: #E6F0EF;
    background:
        radial-gradient(circle at 28% 22%, rgba(45, 212, 191, 0.20), transparent 46%),
        linear-gradient(135deg, #0E2A28 0%, #0B1A1A 72%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
.cs-login__brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 32% 34%, #000, transparent 78%);
    mask-image: radial-gradient(circle at 32% 34%, #000, transparent 78%);
}
.cs-login__brandinner { position: relative; z-index: 1; max-width: 420px; }
.cs-login__logo {
    display: inline-flex; align-items: center; gap: 0.6rem;
    text-decoration: none; color: #fff;
    font-family: var(--font-family-display, 'Space Grotesk', sans-serif);
    font-weight: 700; font-size: 1.5rem;
}
.cs-login__logo img { border-radius: 8px; }
.cs-login__rule { width: 56px; height: 3px; background: #14B8A6; border-radius: 2px; margin: 2rem 0 1.25rem; }
.cs-login__headline {
    font-family: var(--font-family-display, 'Space Grotesk', sans-serif);
    font-weight: 700; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.05;
    letter-spacing: -0.01em; margin: 0 0 1rem;
}
.cs-login__tag { color: #9FC4BF; font-size: 1.02rem; line-height: 1.6; margin: 0 0 2rem; }
.cs-login__props { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.cs-login__props li { color: #CFE6E2; font-size: 0.95rem; }
.cs-login__props i { color: #2DD4BF; width: 1.4rem; }

/* Form panel */
.cs-login__form {
    flex: 1 1 50%;
    background: #F8FAFB;
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1.5rem;
}
.cs-login__card { width: 100%; max-width: 380px; }
.cs-login__header h2 {
    font-family: var(--font-family-display, 'Space Grotesk', sans-serif);
    font-weight: 700; font-size: 1.75rem; color: #0B1A1A; margin: 0 0 0.35rem;
}
.cs-login__header p { color: #64748B; font-size: 0.95rem; margin: 0 0 1.75rem; }
.cs-login__error {
    background: #FEF2F2; border: 1px solid #FECACA; border-left: 3px solid #DC2626;
    color: #991B1B; font-size: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 6px; margin-bottom: 1.25rem;
}
.cs-field { margin-bottom: 1.1rem; }
.cs-field label {
    display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em; color: #475569; margin-bottom: 0.4rem;
}
.cs-field input {
    width: 100%; height: 48px; padding: 0 0.9rem;
    border: 1px solid #CBD5E1; border-radius: 6px; font-size: 0.95rem;
    background: #fff; color: #0B1A1A; transition: border-color .15s, box-shadow .15s;
}
.cs-field input:hover { border-color: #94A3B8; }
.cs-field input:focus { outline: none; border-color: #0D9488; box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15); }
.cs-login__submit { height: 48px; font-weight: 600; margin-top: 0.5rem; }
.cs-login__divider {
    display: flex; align-items: center; text-align: center;
    color: #94A3B8; font-size: 0.8rem; margin: 1.5rem 0 1rem;
}
.cs-login__divider::before, .cs-login__divider::after { content: ""; flex: 1; height: 1px; background: #E2E8F0; }
.cs-login__divider span { padding: 0 0.75rem; }
.cs-login__getaccess { height: 46px; display: flex; align-items: center; justify-content: center; }
.cs-login__footer { text-align: center; color: #94A3B8; font-size: 0.8rem; margin-top: 1.75rem; }
.cs-login__footer a { color: #0F766E; text-decoration: none; }

/* Responsive — stack; brand becomes a compact top band */
@media (max-width: 840px) {
    .cs-login { flex-direction: column; }
    .cs-login__brand { flex: none; padding: 2rem 1.5rem; }
    .cs-login__headline { font-size: 1.6rem; }
    .cs-login__tag, .cs-login__props { display: none; }
    .cs-login__rule { margin: 1rem 0; }
    .cs-login__form { flex: 1; }
}
