.auth-section {
    min-height: 100vh;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background-color: rgba(75, 75, 75, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: white;
}

.auth-card-title {
    background-color: rgba(75, 75, 75, 0.3);
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.auth-card-content {
    padding: 1rem;
}

.auth-form {
    background-color: rgba(75, 75, 75, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group:last-of-type {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background-color: rgba(75, 75, 75, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

/* Prevent white background in Chrome autofill */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(75, 75, 75, 0.3) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-bg);
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.forgot-password {
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    font-size: 0.75rem;
    color: var(--primary-bg);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 0.875rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    background-color: var(--primary-bg);
    color: white;
}

.auth-btn-primary {
    background-color: var(--primary-bg);
    color: white;
}

.auth-btn:hover {
    background-color: white;
    color: var(--primary-bg);
}

.auth-btn-outline {
    background-color: rgba(75, 75, 75, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.auth-btn-outline:hover {
    background-color: rgba(75, 75, 75, 0.3);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
