:root {
    --auth-login-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
    --auth-login-border: #e9eaf3;
    --auth-login-text: #1f2937;
    --auth-login-muted: #7b8092;
    --auth-login-surface: rgba(255, 255, 255, 0.96);
}

.auth-login-page {
    min-height: 100vh;
}

.auth-login-wrap,
.auth-login-row {
    min-height: 100vh;
}

.auth-login-panel-col {
    padding: 32px 20px;
}

.auth-login-card {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    background: var(--auth-login-surface);
    border-radius: 36px;
    box-shadow: var(--auth-login-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
}

.auth-login-card__inner {
    width: 100%;
    padding: 44px 38px;
}

.auth-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 34px;
    color: var(--auth-login-text);
}

.auth-login-brand__logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(97, 78, 250, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-login-brand__name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-login-header {
    margin-bottom: 30px;
}

.auth-login-header h1 {
    margin-bottom: 10px;
    color: var(--auth-login-text);
    font-size: 2.2rem;
    font-weight: 700;
}

.auth-login-header p,
.auth-login-otp-head p {
    margin-bottom: 0;
    color: var(--auth-login-muted) !important;
    font-size: 1rem;
    line-height: 1.9;
}

.auth-login-otp-head h2 {
    color: var(--auth-login-text);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-login-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}

.auth-login-field__icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8f96ab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.auth-login-input {
    height: 58px;
    border-radius: 18px;
    border: 1px solid var(--auth-login-border);
    background: #fff;
    color: var(--auth-login-text);
    padding: 12px 50px 12px 52px;
    font-size: 0.97rem;
    text-align: right;
    box-shadow: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.auth-login-input::placeholder {
    color: #9aa1b4;
}

.auth-login-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(97, 78, 250, 0.12) !important;
}

.auth-login-password-toggle {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #8f96ab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.25s ease, background-color 0.25s ease;
    z-index: 2;
}

.auth-login-password-toggle:hover {
    color: var(--primary);
    background: rgba(97, 78, 250, 0.08);
}

.auth-login-password-toggle .eye-closed {
    display: none;
}

.auth-login-password-toggle.is-visible .eye-open {
    display: none;
}

.auth-login-password-toggle.is-visible .eye-closed {
    display: block;
}

.auth-login-google-btn {
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid var(--auth-login-border);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--auth-login-text);
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.auth-login-google-btn:hover {
    text-decoration: none;
    color: var(--auth-login-text);
    transform: translateY(-1px);
    border-color: rgba(97, 78, 250, 0.22);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08);
}

.auth-login-google-btn img {
    width: 22px;
    height: 22px;
}

.auth-login-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--auth-login-muted);
    margin-top: 4px;
}

.auth-login-link,
.auth-login-signup-hint,
.auth-login-signup-hint a,
.auth-login-back-btn {
    font-size: 0.95rem;
}

.auth-login-link--muted,
.auth-login-signup-hint {
    color: var(--auth-login-muted);
}

.auth-login-link:hover,
.auth-login-signup-hint a:hover,
.auth-login-back-btn:hover {
    color: var(--primary);
    text-decoration: none;
}

.auth-login-signup-hint a {
    color: var(--primary);
    font-weight: 700;
}

.auth-login-btn {
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.auth-login-btn:hover {
    transform: translateY(-1px);
}

.auth-login-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 18px 30px rgba(97, 78, 250, 0.28);
}

.auth-login-btn--primary:hover,
.auth-login-btn--primary:focus {
    color: #fff;
}

.auth-login-btn--secondary {
    background: rgba(97, 78, 250, 0.08);
    color: var(--primary);
}

.auth-login-btn--ghost {
    width: auto;
    min-height: 44px;
    padding: 0 18px;
    background: rgba(97, 78, 250, 0.08);
    color: var(--primary);
    border-radius: 14px;
}

.auth-login-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.auth-login-otp-section {
    animation: authLoginFade 0.35s ease;
}

.auth-login-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin: 28px 0 8px;
}

.auth-login-otp-digit {
    width: 52px;
    height: 60px;
    border-radius: 18px;
    border: 1px solid var(--auth-login-border);
    background: #fff;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--auth-login-text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.auth-login-otp-digit:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(97, 78, 250, 0.12);
    transform: translateY(-1px);
}

.auth-login-otp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-login-back-btn {
    border: 0;
    background: transparent;
    color: var(--auth-login-muted);
    font-weight: 600;
    padding: 8px 0 0;
}

.login-register-bg {
    background-image: url(/html/authentication/photos/login-signup-photo.png);
    filter: grayscale(20%) brightness(90%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

@keyframes authLoginFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    .auth-login-card {
        border-radius: 30px;
    }
}

@media (max-width: 991px) {

    .auth-login-wrap,
    .auth-login-row {
        min-height: auto;
    }

    .auth-login-panel-col {
        padding: 22px 16px 30px;
    }

    .auth-login-card {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .auth-login-card {
        border-radius: 24px;
    }

    .auth-login-card__inner {
        padding: 32px 20px 26px;
    }

    .auth-login-brand {
        margin-bottom: 24px;
    }

    .auth-login-brand__name {
        font-size: 1.6rem;
    }

    .auth-login-header h1 {
        font-size: 1.9rem;
    }

    .auth-login-input,
    .auth-login-google-btn,
    .auth-login-btn {
        min-height: 54px;
        height: 54px;
    }

    .auth-login-otp-inputs {
        gap: 8px;
    }

    .auth-login-otp-digit {
        width: 44px;
        height: 54px;
        border-radius: 14px;
        font-size: 1.2rem;
    }

    .auth-login-otp-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-login-btn--ghost {
        width: 100%;
    }
}