/* Login Page Styles */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

/* Left Side - Branding */
.auth-brand {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.brand-hero {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
}

.brand-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.25rem;
}

/* Right Side - Form */
.auth-form-section {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

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

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

/* Error Message */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    color: #dc2626;
    font-weight: 500;
}

.error-icon {
    font-size: 1.125rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.label-icon {
    font-size: 1rem;
}

.form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Auth Button */
.btn-auth-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    margin-top: 0.5rem;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

/* Footer */
.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-switch {
    margin-bottom: 1rem;
    color: #6b7280;
}

.auth-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-help {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.help-text {
    font-size: 0.875rem;
    color: #9ca3af;
}

.help-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-content {
        grid-template-columns: 1fr;
        margin: 1rem;
    }
    
    .auth-brand {
        padding: 2rem;
        min-height: 300px;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .feature-item {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
        min-height: 70vh;
    }
    
    .auth-content {
        border-radius: 1rem;
        margin: 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .auth-brand,
    .auth-form-section {
        padding: 1.5rem;
    }
    
    .brand-title {
        font-size: 1.75rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-brand {
        padding: 1rem;
        min-height: 250px;
    }
    
    .auth-form-section {
        padding: 1rem;
    }
    
    .brand-icon-large {
        font-size: 3rem;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .brand-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
}
