:root {
    --syt-ink: #111820;
    --syt-muted: #68727e;
    --syt-line: #dfe4e9;
    --syt-canvas: #f4f6f8;
    --syt-orange: #cc4e0b;
    --syt-orange-dark: #a93d08;
    --syt-focus: rgba(204, 78, 11, 0.2);
}

html,
body.syt-auth-page {
    min-height: 100%;
}

body.syt-auth-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--syt-canvas);
    color: var(--syt-ink);
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.syt-auth-page button,
.syt-auth-page input {
    font: inherit;
}

.syt-auth-shell {
    display: grid;
    grid-template-columns: minmax(360px, 46%) minmax(0, 54%);
    min-height: 100vh;
    min-height: 100svh;
}

.syt-auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #101820;
    background-image: url("/assets/images/bg-auth.jpg");
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.syt-auth-visual::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(150deg, rgba(8, 14, 19, 0.1) 0%, rgba(8, 14, 19, 0.48) 52%, rgba(8, 14, 19, 0.92) 100%);
    content: "";
}

.syt-auth-visual::after {
    position: absolute;
    right: -9rem;
    bottom: -10rem;
    z-index: -1;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 0 4.5rem rgba(255, 255, 255, 0.025), 0 0 0 9rem rgba(255, 255, 255, 0.02);
    content: "";
}

.syt-auth-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 32%, rgba(0, 0, 0, 0.17));
}

.syt-auth-visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: clamp(2rem, 4vw, 4.5rem);
    color: #fff;
}

.syt-auth-home-link {
    align-self: flex-start;
    border-radius: 0.35rem;
}

.syt-auth-home-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 6px;
}

.syt-auth-home-link img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 62px;
    object-fit: contain;
}

.syt-auth-visual-copy {
    max-width: 620px;
    margin-top: auto;
    margin-bottom: auto;
    padding: 5rem 0 3rem;
}

.syt-auth-eyebrow,
.syt-auth-kicker {
    margin: 0 0 0.65rem;
    color: var(--syt-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.syt-auth-visual-copy h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-wrap: balance;
}

.syt-auth-visual-copy > p:not(.syt-auth-eyebrow) {
    max-width: 560px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.3vw, 1.17rem);
    line-height: 1.65;
}

.syt-auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
}

.syt-auth-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(11, 18, 24, 0.42);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    font-weight: 700;
}

.syt-auth-benefits i {
    color: #ff985f;
    font-size: 1rem;
}

.syt-auth-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.syt-auth-form-side {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: radial-gradient(circle at 92% 4%, rgba(237, 106, 34, 0.1), transparent 22rem), var(--syt-canvas);
}

.syt-auth-mobile-bar {
    display: none;
}

.syt-auth-form-wrap {
    width: min(100% - 3rem, 560px);
    margin: auto;
    padding: 3rem 0 2rem;
}

.syt-auth-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.syt-auth-brand > a {
    border-radius: 0.35rem;
}

.syt-auth-brand > a:focus-visible {
    outline: 3px solid var(--syt-focus);
    outline-offset: 4px;
}

.syt-auth-brand img {
    display: block;
    width: auto;
    max-width: 165px;
    height: 52px;
    object-fit: contain;
}

.syt-auth-portal-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.43rem 0.68rem;
    border: 1px solid var(--syt-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #65707a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.syt-auth-card {
    padding: clamp(1.45rem, 3.2vw, 2.7rem);
    border: 1px solid rgba(19, 31, 42, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1.4rem 4.5rem rgba(27, 37, 46, 0.1);
}

.syt-auth-panel[aria-hidden="true"] {
    display: none;
}

.syt-auth-heading {
    margin-bottom: 1.65rem;
}

.syt-auth-heading h2 {
    margin: 0;
    color: var(--syt-ink);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.syt-auth-heading > p:not(.syt-auth-kicker) {
    margin: 0.65rem 0 0;
    color: var(--syt-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.syt-auth-page .form-label {
    margin-bottom: 0.45rem;
    color: #27313a;
    font-size: 0.82rem;
    font-weight: 800;
}

.syt-auth-page .form-control {
    min-height: 3.15rem;
    border: 1px solid var(--syt-line);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--syt-ink);
    font-size: 0.94rem;
    box-shadow: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.syt-auth-page .form-control::placeholder {
    color: #9ba3ab;
}

.syt-auth-page .form-control:hover {
    border-color: #c7cdd3;
}

.syt-auth-page .form-control:focus {
    border-color: var(--syt-orange);
    box-shadow: 0 0 0 0.23rem var(--syt-focus);
}

.syt-auth-page .form-control.hasError,
.syt-auth-page .hasError {
    border-color: #c7362f !important;
    background-color: #fff5f4 !important;
    box-shadow: 0 0 0 0.2rem rgba(199, 54, 47, 0.1) !important;
}

.syt-auth-input-wrap {
    position: relative;
}

.syt-auth-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    color: #89929c;
    font-size: 1.05rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.syt-auth-input-wrap .form-control {
    padding-left: 2.85rem;
}

.syt-auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.syt-auth-password-wrap {
    position: relative;
}

.syt-auth-password-wrap .form-control {
    padding-left: 2.85rem;
    border-radius: 0.65rem 0 0 0.65rem;
}

.syt-auth-field-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 5;
    color: #89929c;
    font-size: 1.05rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.syt-auth-password-wrap .input-group-text {
    min-width: 3.15rem;
    justify-content: center;
    border-color: var(--syt-line);
    border-radius: 0 0.65rem 0.65rem 0;
    background: #fff;
    color: #68727e;
}

.syt-auth-password-wrap .input-group-text:focus-visible {
    position: relative;
    z-index: 6;
    border-color: var(--syt-orange);
    outline: none;
    box-shadow: 0 0 0 0.23rem var(--syt-focus);
}

.syt-auth-text-button,
.syt-auth-back {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--syt-orange-dark);
    font-weight: 800;
    cursor: pointer;
}

.syt-auth-text-button {
    font-size: 0.82rem;
}

.syt-auth-text-button:hover,
.syt-auth-back:hover {
    color: #9f3903;
    text-decoration: underline;
}

.syt-auth-text-button:focus-visible,
.syt-auth-back:focus-visible {
    border-radius: 0.2rem;
    outline: 3px solid var(--syt-focus);
    outline-offset: 3px;
}

.syt-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1.55rem;
    font-size: 0.82rem;
}

.syt-auth-status {
    min-height: 0;
    margin-bottom: 0;
    color: #c7362f;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.45;
}

.syt-auth-status:not(:empty) {
    min-height: 2.4rem;
    margin: -0.6rem 0 0.7rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    background: #fff4f2;
}

.syt-auth-page .form-text {
    margin-top: 0.42rem;
    color: #7a848e;
    font-size: 0.75rem;
}

.syt-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.2rem;
    margin-top: 1.35rem;
    border: 1px solid var(--syt-orange);
    border-radius: 0.65rem;
    background: var(--syt-orange);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 0.75rem 1.7rem rgba(237, 106, 34, 0.23);
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.syt-auth-submit:hover,
.syt-auth-submit:focus {
    border-color: var(--syt-orange-dark);
    background: var(--syt-orange-dark);
    color: #fff;
    box-shadow: 0 0.85rem 2rem rgba(204, 78, 11, 0.24);
    transform: translateY(-1px);
}

.syt-auth-submit:focus-visible {
    outline: 3px solid var(--syt-focus);
    outline-offset: 3px;
}

.syt-auth-switch {
    margin: 1.35rem 0 0;
    color: var(--syt-muted);
    font-size: 0.85rem;
    text-align: center;
}

.syt-auth-switch .syt-auth-text-button {
    margin-left: 0.18rem;
}

.syt-auth-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.2rem;
    color: #7b858e;
    font-size: 0.78rem;
}

.syt-auth-support a {
    color: #36414b;
    font-weight: 800;
}

.syt-auth-support a:hover {
    color: var(--syt-orange-dark);
}

.syt-auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: min(100% - 3rem, 720px);
    margin: 0 auto;
    padding: 1.5rem 0;
    color: #929aa2;
    font-size: 0.72rem;
}

.syt-auth-footer a {
    color: #65707a;
    font-weight: 700;
}

.syt-auth-icon-badge {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    background: #fff1e9;
    color: var(--syt-orange-dark);
    font-size: 1.25rem;
    place-items: center;
}

@media (max-width: 991.98px) {
    .syt-auth-shell {
        grid-template-columns: 1fr;
    }

    .syt-auth-visual {
        display: none;
    }

    .syt-auth-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 5.2rem;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(19, 31, 42, 0.07);
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(14px);
    }

    .syt-auth-mobile-bar img {
        display: block;
        width: auto;
        height: 46px;
    }

    .syt-auth-brand {
        display: none;
    }

    .syt-auth-form-wrap {
        padding-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .syt-auth-form-side {
        background: #fff;
    }

    .syt-auth-form-wrap {
        width: 100%;
        padding: 1.5rem 1rem 1rem;
    }

    .syt-auth-card {
        padding: 1rem 0.3rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .syt-auth-heading {
        margin-bottom: 1.35rem;
    }

    .syt-auth-footer {
        width: 100%;
        padding: 1.2rem 1.25rem;
    }

    .syt-auth-support {
        margin-top: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .syt-auth-page *,
    .syt-auth-page *::before,
    .syt-auth-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    .syt-auth-card,
    .syt-auth-page .form-control,
    .syt-auth-submit,
    .syt-auth-portal-label {
        border: 1px solid CanvasText;
    }
}
