/* Authentication Pages Styles */
.auth-body {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.auth-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.auth-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}

.auth-container {
    width: 100%;
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .brand-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    font-size: 1.75rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.auth-form {
    margin-top: 2rem;
}

.auth-form .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-form .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.auth-form .input-group-text {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-muted);
}

.auth-form .form-control {
    border-left: none;
    padding-left: 0;
}

.auth-form .form-control:focus {
    border-left: none;
}

.auth-form .btn-outline-secondary {
    border-left: none;
    background-color: var(--white);
}

.auth-form .btn-outline-secondary:hover {
    background-color: var(--secondary-color);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider span {
    position: relative;
    padding: 0 1rem;
    background-color: var(--white);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-login-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-login-buttons form {
    flex: 1;
}

.btn-social {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-social i {
    font-size: 1rem;
}

.btn-github {
    background-color: #24292e;
    color: white;
    border-color: #24292e;
}

.btn-github:hover {
    background-color: #1a1e22;
    border-color: #1a1e22;
    color: white;
}

.btn-google {
    background-color: #ffffff;
    color: #3c4043;
    border-color: var(--border-color);
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
    color: #3c4043;
}

.btn-facebook {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.btn-facebook:hover {
    background-color: #166fe5;
    border-color: #166fe5;
    color: white;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.auth-footer a {
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form validation styles */
.auth-form .alert {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.auth-form .alert:empty {
    display: none;
}

.auth-form .text-danger {
    font-size: 0.813rem;
    margin-top: 0.25rem;
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    border-radius: 2px;
    background-color: var(--border-color);
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-bar.weak {
    width: 33%;
    background-color: var(--danger-color);
}

.password-strength-bar.medium {
    width: 66%;
    background-color: var(--warning-color);
}

.password-strength-bar.strong {
    width: 100%;
    background-color: var(--success-color);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .social-login-buttons {
        flex-direction: column;
    }
    
    .btn-social span {
        display: none;
    }
    
    .btn-social {
        padding: 0.75rem;
    }
}