/* Login Page Styles */

/* Login Hero */
.login-hero {
    padding: 4rem 5%;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-hero .container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.login-content {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.login-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.login-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Login Form */
.login-form-container {
    padding: 2.5rem;
}

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

.form-header h2 {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #636e72;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #6c5ce7;
    width: 20px;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #2d3436;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group input::placeholder {
    color: #adb5bd;
}

/* Password Input */
.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #636e72;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.3rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #6c5ce7;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6c5ce7;
}

.remember-me label {
    font-size: 0.9rem;
    color: #636e72;
    cursor: pointer;
    margin: 0;
}

.forgot-password {
    color: #6c5ce7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

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

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #636e72;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.divider span {
    padding: 0 1rem;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-btn.google {
    color: #2d3436;
    border-color: #e9ecef;
}

.social-btn.google:hover {
    background-color: #f8f9fa;
}

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

.social-btn.facebook:hover {
    background-color: rgba(24, 119, 242, 0.05);
}

.social-btn.apple {
    color: #2d3436;
    border-color: #2d3436;
}

.social-btn.apple:hover {
    background-color: #f8f9fa;
}

/* Sign Up Link */
.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #636e72;
    font-size: 0.9rem;
}

.signup-link a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Login Features */
.login-features {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.features-header p {
    color: #636e72;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #636e72;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.quick-stats .stat {
    text-align: center;
}

.quick-stats h3 {
    font-size: 2.5rem;
    color: #6c5ce7;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.quick-stats p {
    color: #636e72;
    font-size: 0.9rem;
    margin: 0;
}

/* Login CTA */
.login-cta {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    text-align: center;
}

.login-cta .container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background-color: white;
    color: #6c5ce7;
}

.cta-btn.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .login-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .login-features {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .login-hero {
        padding: 2rem 5%;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .login-form-container {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .features-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-header {
        padding: 2rem 1.5rem;
    }
    
    .login-form-container {
        padding: 1.5rem;
    }
    
    .login-features {
        padding: 1.5rem;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}