:root {
    --auth-navy: #303956;
    --auth-navy-dark: #1f2640;
    --auth-primary: #5567ff;
    --auth-primary-dark: #3f51f0;
    --auth-text: #272c33;
    --auth-muted: #6c757d;
}

body {
    margin: 0;
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--auth-text);
    background: #f5f7fa;
    -webkit-font-smoothing: antialiased;
}

.auth {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background-color: hsl(218, 41%, 15%);
    background-image:
        radial-gradient(650px circle at 0% 0%, hsl(218, 41%, 35%) 15%, hsl(218, 41%, 30%) 35%, hsl(218, 41%, 20%) 75%, hsl(218, 41%, 19%) 80%, transparent 100%),
        radial-gradient(1250px circle at 100% 100%, hsl(218, 41%, 45%) 15%, hsl(218, 41%, 30%) 35%, hsl(218, 41%, 20%) 75%, hsl(218, 41%, 19%) 80%, transparent 100%);
}

.auth__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.auth__intro {
    flex: 1;
    color: #fff;
}

.auth__eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: rgba(255, 255, 255, 0.12);
}

.auth__headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: hsl(218, 81%, 95%);
}

.auth__headline span {
    color: hsl(218, 81%, 75%);
}

.auth__lead {
    max-width: 440px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: hsl(218, 81%, 85%);
    opacity: 0.8;
    margin: 0;
}

.auth__shape {
    position: absolute;
    background: radial-gradient(#44006b, #ad1fff);
}

.auth__shape--one {
    width: 220px;
    height: 220px;
    top: 8%;
    right: 34%;
    border-radius: 50%;
}

.auth__shape--two {
    width: 300px;
    height: 300px;
    right: -80px;
    bottom: -60px;
    border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
}

/* Form panel */
.auth__panel {
    flex: 0 0 420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth__card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 14px;
    background: hsla(0, 0%, 100%, 0.92);
    backdrop-filter: saturate(200%) blur(25px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.auth__logo {
    display: inline-block;
    margin-bottom: 1.75rem;
    color: var(--auth-navy);
    text-decoration: none;
}

.auth__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.auth__subtitle {
    color: var(--auth-muted);
    margin-bottom: 1.75rem;
}

.auth .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.auth .form-control {
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    border-color: #dfe3ea;
}

.auth .form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(85, 103, 255, 0.18);
}

.auth .form-check-input:checked {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
}

.auth .form-check-label {
    font-size: 0.875rem;
}

.auth__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--auth-primary);
    text-decoration: none;
}

.auth__link:hover {
    color: var(--auth-primary-dark);
    text-decoration: underline;
}

.auth__submit {
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    background: var(--auth-primary);
    border-color: var(--auth-primary);
}

.auth__submit:hover,
.auth__submit:focus {
    background: var(--auth-primary-dark);
    border-color: var(--auth-primary-dark);
}

.auth__alt {
    text-align: center;
    margin: 1.5rem 0 0;
}

.auth .alert {
    border-radius: 8px;
    font-size: 0.875rem;
}

.auth__footer {
    margin: 1.5rem 0 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.auth__footer a {
    color: inherit;
}

@media (max-width: 991.98px) {
    .auth__inner {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.25rem;
    }

    .auth__intro {
        text-align: center;
    }

    .auth__headline {
        font-size: 1.9rem;
    }

    .auth__lead,
    .auth__shape--one {
        display: none;
    }

    .auth__panel {
        flex: none;
        width: 100%;
    }

    .auth__card {
        max-width: 420px;
        padding: 2rem 1.5rem;
    }
}
