.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 1.5rem;
}

html.dark .auth-wrapper {
    background-color: #0f172a;
}

.auth-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
}

html.dark .auth-card {
    background-color: #020617;
    border-color: #1e293b;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background-color: #0f172a;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark .auth-logo {
    background-color: #f8fafc;
}

.auth-logo i {
    font-size: 1.75rem;
    color: #ffffff;
}

html.dark .auth-logo i {
    color: #0f172a;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

html.dark .auth-title {
    color: #f8fafc;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #64748b;
}

html.dark .auth-subtitle {
    color: #94a3b8;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

html.dark .form-group label {
    color: #cbd5e1;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.form-input-auth {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem 0.625rem 2.75rem;
    color: #0f172a;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-input-auth:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.form-input-auth::placeholder {
    color: #94a3b8;
}

html.dark .form-input-auth {
    background-color: #0f172a;
    border-color: #1e293b;
    color: #f8fafc;
}

html.dark .form-input-auth:focus {
    background-color: #1e293b;
    border-color: #f8fafc;
    box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.1);
}

html.dark .form-input-auth::placeholder {
    color: #475569;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #0f172a;
}

html.dark .password-toggle:hover {
    color: #f8fafc;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me label {
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

html.dark .remember-me label {
    color: #cbd5e1;
}

.forgot-password {
    font-size: 0.875rem;
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #334155;
}

html.dark .forgot-password {
    color: #f8fafc;
}

html.dark .forgot-password:hover {
    color: #cbd5e1;
}

.btn-login {
    width: 100%;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-login:hover {
    background-color: #1e293b;
}

html.dark .btn-login {
    background-color: #f8fafc;
    color: #0f172a;
}

html.dark .btn-login:hover {
    background-color: #e2e8f0;
}

.theme-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

html.dark .theme-toggle {
    background-color: #1e293b;
    border-color: #334155;
}

.theme-toggle:hover {
    border-color: #0f172a;
}

html.dark .theme-toggle:hover {
    border-color: #f8fafc;
}

.theme-toggle i {
    font-size: 1.125rem;
    color: #0f172a;
}

html.dark .theme-toggle i {
    color: #f8fafc;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .form-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}