/* --- Genel Sayfa Stili --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

/* --- Form Kapsayıcısı --- */
.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #1c1e21;
}

/* --- Form Alanları --- */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddfe2;
    border-radius: 6px;
    box-sizing: border-box; /* Padding'in genişliği etkilememesi için */
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #1877f2;
    box-shadow: 0 0 0 2px #e7f3ff;
}

/* --- Butonlar --- */
button {
    width: 100%;
    padding: 12px;
    background-color: #1877f2;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #166fe5;
}

/* --- Form Değiştirme Linki --- */
.toggle-form {
    margin-top: 20px;
    font-size: 14px;
}

.toggle-form a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

.toggle-form a:hover {
    text-decoration: underline;
}

/* --- Hata/Başarı Mesajları --- */
.message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 6px;
    font-size: 14px;
}
.message.error {
    background-color: #fbe2e2;
    color: #8c2020;
}
.message.success {
    background-color: #e7f3ff;
    color: #166fe5;
}

/* --- Gizli Form --- */
.hidden {
    display: none;
}