/* Login/Register Sayfası Stilleri */

.login-container {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.2" fill="rgba(75,85,99,0.25)"/><circle cx="80" cy="80" r="1.2" fill="rgba(75,85,99,0.25)"/><circle cx="50" cy="10" r="0.8" fill="rgba(75,85,99,0.2)"/><circle cx="10" cy="60" r="0.9" fill="rgba(75,85,99,0.22)"/><circle cx="90" cy="30" r="0.7" fill="rgba(75,85,99,0.18)"/><circle cx="70" cy="15" r="0.6" fill="rgba(75,85,99,0.15)"/><circle cx="30" cy="85" r="0.8" fill="rgba(75,85,99,0.2)"/><circle cx="60" cy="70" r="0.5" fill="rgba(75,85,99,0.12)"/><circle cx="85" cy="55" r="0.7" fill="rgba(75,85,99,0.16)"/><circle cx="15" cy="40" r="0.6" fill="rgba(75,85,99,0.14)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.login-wrapper {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Header */
.login-header {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.logo-section img {
    width: auto;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 12px;
}

.logo-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Form Container */
.login-forms {
    padding: 50px 30px;
    position: relative;
    text-align: center;
}

.form-container {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.form-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Google Login Button */
.social-login {
    margin-bottom: 30px;
}

.google-login-btn {
    width: 100%;
    max-width: 350px;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    border: 2px solid #ddd;
}

.google-login-btn:hover {
    border-color: #d6d7d9;
    transform: translateY(-3px);
}

.google-login-btn svg {
    flex-shrink: 0;
}

/* Login Info */
.login-info {
    margin-top: 20px;
}

.login-info p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #374151;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me,
.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.remember-me input,
.terms-checkbox input {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remember-me input:checked + .checkmark,
.terms-checkbox input:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.remember-me input:checked + .checkmark::after,
.terms-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #6b7280;
}

.terms-link,
.privacy-link {
    color: #374151;
    text-decoration: none;
}

.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}

/* Submit Buttons */
.login-submit-btn,
.register-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3);
}

.login-submit-btn:hover,
.register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(55, 65, 81, 0.4);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.switch-form {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.switch-form:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Features */
.login-features {
    background: #f9fafb;
    padding: 25px 30px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #e5e7eb;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
    }
    
    .login-wrapper {
        max-width: 100%;
    }
    
    .login-header {
        padding: 30px 20px;
    }
    
    .logo-section h1 {
        font-size: 2rem;
    }
    
    .login-forms {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .login-features {
        gap: 15px;
        padding: 20px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-header {
        padding: 25px 15px;
    }
    
    .login-forms {
        padding: 25px 15px;
    }
    
    .form-group input {
        padding: 12px 15px;
    }
    
    .google-login-btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .login-submit-btn,
    .register-submit-btn {
        padding: 12px 15px;
    }
}
