/* Authentication Styles */

/* Background Image for Right Column */
.auth-bg-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%),
                url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    min-height: 100vh;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.auth-welcome-content {
    animation: fadeInUp 1s ease-out;
}

.auth-features .feature-item {
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.auth-features .feature-item:nth-child(1) { animation-delay: 0.2s; }
.auth-features .feature-item:nth-child(2) { animation-delay: 0.4s; }
.auth-features .feature-item:nth-child(3) { animation-delay: 0.6s; }
.auth-features .feature-item:nth-child(4) { animation-delay: 0.8s; }

/* Multi-Step Form Styles */
.multi-step-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    font-weight: 500;
}

.step.active .step-number {
    background: #3b82f6;
    color: white;
}

.step.active .step-title {
    color: #3b82f6;
    font-weight: 600;
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step.completed .step-title {
    color: #10b981;
}

.step.completed .step-number::after {
    content: '✓';
    font-size: 14px;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

/* Role Selection */
.role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.role-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.role-option:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.role-option.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.role-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.role-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.role-option h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #1f2937;
}

.role-option p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Form Navigation */
.form-navigation {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Enhanced Input Styles */
.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="password"],
.form-step select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-step input[type="text"]:focus,
.form-step input[type="email"]:focus,
.form-step input[type="password"]:focus,
.form-step select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Login Form Enhancements */
.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step-title {
        display: none;
    }
    
    .role-selection {
        grid-template-columns: 1fr;
    }
    
    .auth-bg-image {
        display: none;
    }
}

/* Error States */
.border-red-500 {
    border-color: #ef4444 !important;
}

.text-red-500 {
    color: #ef4444;
}

/* Success States */
.border-green-500 {
    border-color: #10b981 !important;
}

.text-green-500 {
    color: #10b981;
}
