@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@600;700;800&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.ysl-auth-page {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    color: #111827;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.fi-ysl-auth-layout {
    display: flex;
    min-height: 100dvh;
    background: #f8fafc;
}

.fi-ysl-auth-hero {
    position: relative;
    display: none;
    flex: 1 1 50%;
    align-items: center;
    background-color: #060b1a;
    padding: 3rem 3.5rem;
    overflow: hidden;
}

.fi-ysl-auth-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1);
    animation: fi-ysl-auth-zoom 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes fi-ysl-auth-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}

.fi-ysl-auth-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(6, 11, 26, 0.82) 0%,
        rgba(11, 20, 38, 0.68) 45%,
        rgba(26, 35, 126, 0.55) 100%
    );
    pointer-events: none;
}

.fi-ysl-auth-hero__content {
    position: relative;
    z-index: 2;
    max-width: 34rem;
    color: #fff;
}

.fi-ysl-auth-hero__badge {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd700;
}

.fi-ysl-auth-hero__title {
    margin: 0 0 1rem;
    font-family: "Orbitron", "Inter", sans-serif;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.fi-ysl-auth-hero__title span {
    display: block;
    margin-top: 0.35rem;
    color: #ffd700;
}

.fi-ysl-auth-hero__text {
    margin: 0;
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
}

.fi-ysl-auth-form-column {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.fi-ysl-auth-simple-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.fi-ysl-auth-simple-layout .fi-simple-main-ctn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.fi-ysl-auth-simple-layout .fi-simple-main {
    width: 100%;
}

.fi-ysl-auth-simple-layout .fi-simple-page {
    margin-inline: auto;
}

.fi-ysl-auth-simple-layout .fi-ysl-copyright-footer {
    margin-top: 0;
}

@media (min-width: 1024px) {
    .fi-ysl-auth-hero {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .fi-ysl-auth-form-column {
        background: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fi-ysl-auth-hero__bg {
        animation: none;
        transform: scale(1);
    }
}

.fi-ysl-classic-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.fi-ysl-classic-login-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fi-ysl-classic-login-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(55 65 81);
}

.dark .fi-ysl-classic-login-label {
    color: rgb(209 213 219);
}

.fi-ysl-classic-login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(75 85 99);
    cursor: pointer;
}

.fi-ysl-classic-login-remember input {
    width: auto;
    margin: 0;
}

.fi-ysl-classic-login-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgb(254 242 242);
    color: rgb(185 28 28);
    font-size: 0.875rem;
}

.dark .fi-ysl-classic-login-error {
    background: rgb(127 29 29 / 0.35);
    color: rgb(252 165 165);
}

.fi-ysl-classic-login-back {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.875rem;
}

.fi-ysl-classic-login-back a {
    color: rgb(37 99 235);
    text-decoration: none;
}

.fi-ysl-classic-login-back a:hover {
    text-decoration: underline;
}

.fi-ysl-auth-card {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.fi-ysl-auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.fi-ysl-auth-logo {
    display: block;
    height: 2.25rem;
    width: auto;
    margin: 0 auto 1.25rem;
}

.fi-ysl-auth-heading {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
}

.fi-ysl-auth-subheading {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #6b7280;
}

.fi-ysl-auth-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    color: #111827;
    font: inherit;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fi-ysl-auth-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.fi-ysl-auth-submit {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.6875rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fi-ysl-auth-submit:hover {
    background: #1d4ed8;
}

.fi-ysl-auth-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.fi-ysl-auth-footer {
    padding: 0.85rem 1.5rem 1.25rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.fi-ysl-auth-footer p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #6b7280;
}
