/* TAGCLIC login. Scoped to this page; native form validation remains intact. */
body.login-background { background: #edf1f5 !important; background-image: none !important; }
.tc-login { --tc-ink: #142635; --tc-muted: #627180; --tc-accent: #117a74; color: var(--tc-ink); padding: 28px; min-height: 100vh; display: flex; align-items: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.tc-login *, .tc-login *::before, .tc-login *::after { box-sizing: border-box; }
.tc-login__shell { width: 100%; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; min-height: min(800px, calc(100vh - 56px)); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 24px 80px -40px #213b5759; }
.tc-login__story { isolation: isolate; position: relative; padding: 40px 52px 30px; display: flex; flex-direction: column; background: #102c3c; color: #fff; overflow: hidden; }
.tc-login__story::before { content: ""; position: absolute; z-index: -1; width: 650px; height: 650px; left: -250px; bottom: -320px; background: radial-gradient(circle, #166e7055, transparent 67%); pointer-events: none; }
.tc-login__brand { align-self: flex-start; color: #fff; font-size: 25px; font-weight: 750; letter-spacing: -.8px; text-decoration: none !important; }
.tc-login__brand img { object-fit: contain; filter: brightness(0) invert(1); }
.tc-login__brand-dot { color: #6de0c9; }
.tc-login__story-copy { margin-top: 53px; }
.tc-login__eyebrow { display: flex; align-items: center; gap: 10px; color: #b8d1d8; font-size: 10px; font-weight: 650; letter-spacing: 2.2px; margin-bottom: 22px; }
.tc-login__eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #6de0c9; }
.tc-login__story h2 { font-size: clamp(36px, 3.25vw, 48px); line-height: 1.17; letter-spacing: -1.9px; font-weight: 600; color: #fff; margin: 0 0 22px; }
.tc-login__story h2 > span { color: #7ce5d2; }
.tc-login__description { max-width: 345px; color: #bed0da; font-size: 15px; line-height: 1.85; margin: 0; }
.tc-login__visual { position: relative; min-height: 276px; width: 100%; max-width: 420px; margin: 24px auto 16px; }
.tc-login__orbit { position: absolute; border: 1px solid #6ea6b52e; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-22deg); }
.tc-login__orbit--outer { width: 405px; height: 225px; }
.tc-login__orbit--inner { width: 295px; height: 185px; }
.tc-login__node { position: absolute; height: 7px; width: 7px; border-radius: 50%; background: #71d8c4; box-shadow: 0 0 0 5px #71d8c419; }
.tc-login__node--one { top: 38px; left: 53%; }
.tc-login__node--two { bottom: 27px; left: 28%; width: 5px; height: 5px; background: #8da4b6; }
.tc-login__identity { position: absolute; top: 53px; left: 50%; transform: translateX(-50%) rotate(-7deg); width: 194px; height: 162px; border: 1px solid #6c9eaa65; border-radius: 17px; background: linear-gradient(145deg, #294b5b, #193849); box-shadow: 0 18px 38px #0003; padding: 23px; }
.tc-login__avatar { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; color: #97e6d8; background: #58998833; }
.tc-login__avatar svg { width: 25px; height: 25px; }
.tc-login__identity-lines { position: absolute; top: 34px; left: 80px; right: 24px; }
.tc-login__identity-lines span { display: block; height: 5px; border-radius: 8px; margin-bottom: 10px; background: #9bb8c06e; }
.tc-login__identity-lines span + span { width: 65%; background: #9bb8c02e; }
.tc-login__identity-label { display: flex; align-items: center; justify-content: space-between; margin-top: 27px; padding-top: 13px; border-top: 1px solid #91b3bc33; font-size: 11px; color: #e5f2f6; }
.tc-login__identity-label svg { width: 17px; height: 17px; color: #8be2cd; }
.tc-login__floating { display: flex; align-items: center; gap: 10px; position: absolute; padding: 12px 16px 12px 12px; border-radius: 12px; box-shadow: 0 10px 30px #00152133; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tc-login__floating--certificate { top: 38px; right: 0; background: #edf7f5; color: #183f46; transform: rotate(5deg); }
.tc-login__floating--link { bottom: 28px; left: 0; background: #214656; color: #e2f2f5; border: 1px solid #477481; transform: rotate(3deg); }
.tc-login__mini-icon { width: 29px; height: 29px; border-radius: 8px; background: #8ab7ae2e; display: grid; place-items: center; }
.tc-login__mini-icon svg { width: 19px; height: 19px; }
.tc-login__story-footer { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid #95b6c026; font-size: 10px; color: #aec2ce; }
.tc-login__access { display: flex; flex-direction: column; padding: 44px 64px 32px; background: #fff; min-width: 0; }
.tc-login__topbar { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.tc-login__mobile-brand { display: none; font-size: 23px; font-weight: 750; color: var(--tc-ink); }
.tc-login__mobile-brand img { object-fit: contain; }
.tc-login__home { color: #657381; font-size: 12px; text-decoration: none; }
.tc-login__home span { display: inline-block; margin-inline-end: 6px; font-size: 16px; }
.tc-login__home:hover { color: var(--tc-accent); }
.tc-login__form-area { width: 100%; max-width: 410px; margin: auto; padding: 48px 0 40px; }
.tc-login__intro { margin-bottom: 32px; }
.tc-login__kicker { margin: 0 0 13px; color: var(--tc-accent); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.tc-login h1 { font-size: clamp(27px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -1.1px; font-weight: 650; color: var(--tc-ink); margin: 0 0 12px; }
.tc-login__subtitle { font-size: 14px; line-height: 1.75; color: var(--tc-muted); margin: 0; }
.tc-login form { margin-top: 0 !important; }
.tc-login .form-group { margin-bottom: 22px; }
.tc-login label { font-size: 13px; font-weight: 600; color: #2e414e; margin-bottom: 9px; }
.tc-login .form-control { min-height: 52px; border: 1px solid #d7e0e6; border-radius: 10px; padding: 13px 15px; background: #fcfdfe; color: var(--tc-ink); font-family: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; transition: border-color .16s, box-shadow .16s; }
.tc-login .form-control::placeholder { color: #83919e; font-size: 14px; opacity: 1; }
.tc-login .form-control:focus { border-color: #268e85; background: #fff; box-shadow: 0 0 0 4px #14827816; outline: none; }
.tc-login .form-control.is-invalid { border-color: #c23946; }
.tc-login .invalid-feedback { font-size: 12px; line-height: 1.5; }
.tc-login .btn-primary { min-height: 52px; border-radius: 10px; background: #117a74; border-color: #117a74; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 5px 13px #117a741a; transition: background .16s, box-shadow .16s; }
.tc-login .btn-primary:hover { background: #0d625d; border-color: #0d625d; box-shadow: 0 7px 18px #117a7429; }
.tc-login .btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.tc-login a:focus-visible, .tc-login button:focus-visible { outline: 3px solid #168b80; outline-offset: 4px; border-radius: 4px; }
.tc-login .text-muted { color: #5f6f7c !important; }
.tc-login .tc-login__options { gap: 12px 16px; flex-wrap: wrap; }
.tc-login .tc-login__recovery { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; font-size: 12px; line-height: 1.4; }
.tc-login .tc-login__recovery a { color: #196c67 !important; }
.tc-login .tc-login__recovery a:hover { text-decoration: underline; }
.tc-login .custom-control-label { font-weight: 400; margin: 0; padding-top: 2px; }
.tc-login .custom-control-label small { font-size: 12px; }
.tc-login .custom-control-label::before, .tc-login .custom-control-label::after { top: .2rem; border-radius: 4px; }
.tc-login .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--tc-accent); border-color: var(--tc-accent); }
.tc-login .custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px #168b8033; }
.tc-login [data-password-toggle-view] label a { min-width: 30px; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.tc-login .alert { border-radius: 10px; font-size: 13px; line-height: 1.6; }
.tc-login .btn-light { border: 1px solid #d7e0e6; border-radius: 10px; min-height: 48px; color: var(--tc-ink); background: #fff; }
.tc-login .btn-light img { width: 20px; height: 20px; }
.tc-login__security { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 7px; color: #657d80; font-size: 11px; }
.tc-login__security svg { width: 15px; height: 15px; }
.tc-login__help { color: #647480; font-size: 11px; line-height: 1.7; text-align: center; margin: 0; }
@media (min-width: 901px) and (max-width: 1150px) {
    .tc-login__story { padding-inline: 34px; }
    .tc-login__access { padding-inline: 36px; }
    .tc-login__story h2 { font-size: 37px; }
    .tc-login__floating--certificate { right: -12px; }
}
@media (max-width: 900px) {
    .tc-login { padding: 24px; }
    .tc-login__shell { display: block; max-width: 560px; min-height: auto; }
    .tc-login__story { display: none; }
    .tc-login__access { padding: 28px 42px 28px; min-height: min(740px, calc(100svh - 48px)); }
    .tc-login__mobile-brand { display: block; }
    .tc-login__topbar { justify-content: space-between; }
    .tc-login__form-area { padding: 44px 0 36px; }
    .tc-login h1 { font-size: 31px; }
}
@media (max-width: 480px) {
    .tc-login { padding: 12px; align-items: flex-start; }
    .tc-login__shell { border-radius: 20px; }
    .tc-login__access { padding: 20px 22px 24px; min-height: calc(100svh - 24px); }
    .tc-login__form-area { padding-top: 36px; padding-bottom: 30px; }
    .tc-login h1 { font-size: 29px; }
    .tc-login__intro { margin-bottom: 28px; }
    .tc-login .tc-login__options { flex-direction: row !important; align-items: flex-start !important; }
    .tc-login .tc-login__recovery { margin-inline-start: auto; }
    .tc-login__home { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .tc-login *, .tc-login *::before, .tc-login *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .tc-login__shell, .tc-login .form-control, .tc-login .btn-primary { border: 1px solid CanvasText; } }
