/* Authentication Pages Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

/* Hero Section */
.auth-hero {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    transform: rotate(15deg);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features, .hero-benefits {
    list-style: none;
    padding: 0;
}

.hero-features li, .hero-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features i {
    font-size: 1.2rem;
}

.hero-benefits li {
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.hero-benefits i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth Form */
.auth-form {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-form .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #2c3e50;
}

.auth-form .logo-icon {
    font-size: 2rem;
    color: #2ecc71;
}

.auth-form .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
}

.auth-form .logo-text span {
    color: #2ecc71;
}

.form-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-header p {
    color: #7f8c8d;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    background: #e74c3c;
    transition: width 0.3s, background 0.3s;
}

.password-strength-text {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    color: #7f8c8d;
}

.progress-step.active .step-number {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.progress-step.active .step-label {
    color: #2c3e50;
    font-weight: 600;
}

/* Buttons */
.btn-login, .btn-register {
    width: 100%;
    background: #2ecc71;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover, .btn-register:hover {
    background: #27ae60;
}

/* Social Login/Register */
.social-login, .social-register {
    text-align: center;
    margin-bottom: 25px;
}

.social-login p, .social-register p {
    color: #7f8c8d;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after,
.social-register p::before,
.social-register p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e0e0e0;
}

.social-login p::before,
.social-register p::before {
    left: 0;
}

.social-login p::after,
.social-register p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    max-width: 150px;
}

.social-btn.google {
    color: #DB4437;
}

.social-btn.facebook {
    color: #4267B2;
}

.social-btn:hover {
    border-color: #2ecc71;
    transform: translateY(-2px);
}

/* Links */
.login-link, .register-link {
    text-align: center;
    color: #7f8c8d;
}

.login-link a, .register-link a {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover, .register-link a:hover {
    text-decoration: underline;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Terms */
.terms-agreement {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-agreement input {
    margin-top: 5px;
}

.terms-agreement label {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-agreement a {
    color: #3498db;
    text-decoration: none;
}

.terms-agreement a:hover {
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.input-with-icon.error input,
.input-with-icon.error select {
    border-color: #e74c3c;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-hero {
        display: none;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        max-width: 100%;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .progress-step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .step-number {
        margin: 0;
    }
}