* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background-color: transparent;
}

.login-container {
    background: white;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.logo-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-section i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: white;
}

.logo-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.logo-section p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Ana seçim butonları */
.choice-section {
    padding: 40px 30px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.choice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border: 2px solid #ff6b35;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.login-choice-btn {
    background: #ff6b35;
    color: white;
}

.login-choice-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.register-choice-btn {
    background: white;
    color: #ff6b35;
}

.register-choice-btn:hover {
    background: #fff5f2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

/* Giriş formu */
.login-section {
    padding: 40px 30px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 300px;
}

.login-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #f5f5f5;
    color: #333;
}

/* Sosyal giriş butonları */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.google-btn {
    border-color: #4285F4;
    color: #4285F4;
}

.google-btn:hover {
    background: #4285F4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.apple-btn {
    border-color: #000;
    color: #000;
}

.apple-btn:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn i {
    font-size: 20px;
}

/* Kayıt formu */
.register-section {
    padding: 40px 30px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 400px;
}

.register-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

.register-submit-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.register-submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Mobil optimizasyonu */
@media (max-width: 480px) {
    html, body {
        height: 100vh;
        min-height: 100vh;
        overflow-x: hidden;
    }
    
    body {
        padding: 0;
        margin: 0;
        align-items: stretch;
    }
    
    .login-register-section {
        height: 100vh;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        background: transparent;
    }
    
    .login-container {
        background: white;
        height: 100vh;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        border-radius: 0;
        max-width: none;
    }
    
    .logo-section {
        padding: 60px 20px 40px;
    }
    
    .logo-section i {
        font-size: 4rem;
    }
    
    .logo-section h1 {
        font-size: 2.5rem;
    }
    
    .choice-section,
    .login-section,
    .register-section {
        padding: 30px 20px;
    }
    
    .choice-btn,
    .social-btn {
        padding: 18px 24px;
        font-size: 18px;
    }
}

/* Tablet optimizasyonu */
@media (min-width: 481px) and (max-width: 768px) {
    .login-container {
        max-width: 500px;
    }
}
