.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222222;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.auth-card {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3.5rem);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-logo {
    width: 60px;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-family: 'Archivo', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-family: 'Tenor Sans', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.auth-form .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
}

.auth-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Fix browser autofill background color overriding styles */
.auth-form .form-control:-webkit-autofill,
.auth-form .form-control:-webkit-autofill:hover, 
.auth-form .form-control:-webkit-autofill:focus, 
.auth-form .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.auth-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
