/* Sign-in - mirrors the Sage 300 People WSS sign-in (signin-new in WebSelfService site.css):
   black stage + animated network GIF, #E3E3E3 left panel, 8px inputs (#75838F border, #007E45 focus),
   black pill button. Adds the "Smart Assist" brand on the right-hand side. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: 'Sage UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #000; color: rgba(0,0,0,.9); }

.signin { position: relative; min-height: 100vh; overflow: hidden; background: #000; display: flex; }

.signin__background {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: right bottom; z-index: 0; pointer-events: none; opacity: .95;
}

/* ── Left panel ─────────────────────────────────────────────── */
.signin__panel {
    position: relative; z-index: 2; margin-left: 164px; width: 490px; min-height: 100vh;
    background: #E3E3E3; overflow-y: auto; box-shadow: 0 0 60px rgba(0,0,0,.45);
}
.signin__form { padding: 0 56px 48px; }
.signin__logo { text-align: center; padding-top: 80px; padding-bottom: 32px; }
.signin__logo img { max-width: 140px; height: auto; }

.signin__title { font-weight: 600; font-size: 20px; line-height: 1.3; margin: 0 0 4px; }
.signin__subtitle { font-size: 14px; line-height: 150%; color: rgba(0,0,0,.7); margin: 0 0 20px; }

.signin__required-note { font-weight: 500; font-size: 14px; line-height: 150%; color: #CD384B; margin: 0 0 16px; }

.signin__error { color: #CD384B; font-size: 14px; line-height: 1.5; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.signin__error:empty, .signin__error.validation-summary-valid { display: none; }
.signin__error ul { margin: 0; padding-left: 18px; }

.signin__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.signin__label { font-weight: 500; font-size: 14px; line-height: 150%; color: rgba(0,0,0,.9); }
.signin__input {
    width: 100%; height: 40px; padding: 8px 12px; background: #fff; border: 1px solid #75838F; border-radius: 8px;
    font: 400 14px/1.5 'Sage UI', 'Segoe UI', Tahoma, sans-serif; color: rgba(0,0,0,.9); outline: none;
}
.signin__input:focus { border-color: #007E45; box-shadow: 0 0 0 2px rgba(0,126,69,.2); }
.signin__input::placeholder { color: rgba(0,0,0,.4); }
.signin__input.input-validation-error { border-color: #CD384B; }
.signin__field-error { color: #CD384B; font-size: 13px; }

.signin__checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 4px 0 24px; cursor: pointer; }
.signin__checkbox input { width: 16px; height: 16px; accent-color: #007E45; }

.signin__btn {
    display: inline-flex; justify-content: center; align-items: center; width: 100%; height: 40px; padding: 0 24px;
    background: rgba(0,0,0,.9); color: #fff; border: none; border-radius: 32px;
    font: 500 14px/1 'Sage UI', 'Segoe UI', Tahoma, sans-serif; cursor: pointer; transition: background .15s;
}
.signin__btn:hover { background: #000; }
.signin__btn:focus-visible { outline: 2px solid #007E45; outline-offset: 2px; }

.signin__footnote { margin: 20px 0 0; font-size: 13px; color: rgba(0,0,0,.6); text-align: center; }

/* ── Right-hand "Smart Assist" brand ─────────────────────────── */
.signin__brand { position: relative; z-index: 1; flex: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: 12vh 72px 48px 48px; }
.signin__brand-inner { max-width: 560px; color: #fff; text-align: right; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.signin__brand-eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.signin__brand-title {
    font-weight: 800; font-size: clamp(56px, 7.5vw, 112px); line-height: .95; letter-spacing: -.02em;
    background: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 38%, #A9C6FF 72%, #6FD86C 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: none; filter: drop-shadow(0 4px 18px rgba(0,0,0,.55));
}
.signin__brand-title span { display: block; }
.signin__brand-tagline { margin: 22px 0 0 auto; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.85); max-width: 420px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) { .signin__panel { margin-left: 64px; } }
@media (max-width: 900px) {
    .signin__panel { margin-left: 0; width: 100%; }
    .signin__brand { display: none; }
    .signin__form { padding: 0 24px 40px; max-width: 490px; margin: 0 auto; }
}
