/* ==================================
 * ANA STİL DOSYASI (style.css)
 * ================================== */

/* 1. Genel Ayarlar (Tüm Sayfa) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6; /* Hafif gri arka plan */
    color: #333;
    margin: 0;
    padding: 0;
}

/* 2. Ana Konteyner (İçeriği ortalar ve sınırlar) */
.container {
    max-width: 960px;
    margin: 20px auto; /* Üstten 20px, sağ/sol otomatik (ortalı) */
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 3. Başlıklar (Header) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px 30px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

header h1 {
    color: #2a9d8f; /* Ana marka rengimiz */
    margin: 0;
}

header a {
    text-decoration: none;
    color: #e76f51; /* İkinci renk */
    font-weight: bold;
}

/* 4. Form Elemanları (Giriş, Kayıt, Admin Panelleri) */
form div {
    margin-bottom: 15px;
}
form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Padding'in genişliği bozmamasını sağlar */
}

/* 5. Düğmeler (Buttons) */
button,
.btn {
    background-color: #2a9d8f; /* Ana marka rengi */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.btn:hover {
    background-color: #264653; /* Koyu renk */
}

/* Kırmızı Silme Düğmesi */
button[style*="red"] {
    background-color: #e76f51 !important;
}
button[style*="red"]:hover {
    background-color: #d00 !important;
}

/* 6. Tablolar (Admin ve Veli Raporları) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9; /* Zebra deseni */
}

/* 7. Linkler */
a {
    color: #2a9d8f;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}