/* Login Page Specific Styles */

/* Login Section */
.login-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(22, 33, 62, 0.8) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="login-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffd700" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23login-grain)"/></svg>');
    opacity: 0.3;
}

.login-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Login Card */
.login-card {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e32 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
}

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

.login-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Form Styles */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: #EE3A56;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #EE3A56;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(238, 58, 86, 0.1);
}

.input-group input::placeholder {
    color: #666;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #EE3A56;
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
    min-height: 1.2rem;
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ccc;
    font-size: 0.9rem;
}

.checkbox-container input {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    accent-color: #EE3A56;
}

.forgot-password {
    color: #EE3A56;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ff6b7a;
}

/* Login Button */
.login-btn {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 215, 0, 0.2);
}

.divider span {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e32 100%);
    color: #ccc;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #EE3A56;
    background: rgba(238, 58, 86, 0.1);
    transform: translateY(-2px);
}

.google-btn:hover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
}

.facebook-btn:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

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

/* Login Footer */
.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.login-footer p {
    color: #ccc;
    margin: 0;
}

.login-footer a {
    color: #EE3A56;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #ff6b7a;
}

/* Login Features */
.login-features {
    color: #fff;
}

.login-features h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    color: #EE3A56;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #ccc;
    margin: 0;
    line-height: 1.5;
}

/* Security Notice */
.security-notice {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.security-content i {
    font-size: 3rem;
    color: #EE3A56;
    flex-shrink: 0;
}

.security-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.security-content p {
    color: #ccc;
    margin: 0;
    line-height: 1.6;
}

/* Form Validation States */
.form-group.error input {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.form-group.success input {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.message.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid #ff4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .social-login {
        gap: 0.8rem;
    }
    
    .social-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .features-list {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .security-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 100px 0 60px;
    }
    
    .login-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .login-header h1 {
        font-size: 1.8rem;
    }
    
    .input-group input {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
    
    .input-group i {
        left: 0.8rem;
    }
    
    .password-toggle {
        right: 0.8rem;
    }
}

/* Animation for form elements */
.form-group {
    animation: slideInUp 0.6s ease-out;
}

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

/* Stagger animation for form groups */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
