/* Sayfa geneli */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Giriş kutusu sarmalayıcısı */
.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Kutu stil */
.login-box {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: #f2f2f2;
    animation: fadeIn 0.7s ease-in-out;
}

/* Başlık */
.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: #ffffff;
}

/* Etiketler */
.login-box label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #ccc;
}

/* Giriş alanları */
.login-box input[type="text"],
.login-box input[type="email"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    border-radius: 6px;
    color: #f2f2f2;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.login-box input:focus {
    border-color: #66afe9;
}

/* Giriş butonu */
.login-box button {
    margin-top: 25px;
    width: 100%;
    background: #007bff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background: #0056b3;
}

/* Hata mesajı */
.error-message {
    background-color: #f44336;
    color: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

/* Şifremi unuttum bağlantısı */
.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    font-size: 14px;
    color: #66b2ff;
    text-decoration: none;
}

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

/* Kayıt linki */
.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.register-link a {
    color: #66b2ff;
    text-decoration: none;
}

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

/* Fade in animasyonu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
