/* GENEL AYARLAR */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3, h4 { text-align: center; color: #2c3e50; margin-bottom: 10px; }

/* KART YAPISI (Container) */
.container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

/* GİRİŞ EKRANI */
#login-screen {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#btnGiris {
    background-color: #4285F4;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}
#btnGiris:hover { background-color: #3367d6; box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3); }

/* HEADER & PROFİL */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.user-info { display: flex; align-items: center; gap: 15px; }
.user-img { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #ddd; }
.logout-btn { background-color: #e74c3c; color: white; border: none; padding: 8px 15px; border-radius: 6px; cursor: pointer; }
.logout-btn:hover { background-color: #c0392b; }

/* ADMİN PANELİ */
#admin-panel { border: 2px solid #1abc9c; background-color: #e8f6f3; }
.student-card {
    padding: 15px;
    background: white;
    margin: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.2s;
    border: 1px solid #eee;
}
.student-card:hover { transform: translateX(5px); border-color: #1abc9c; }
.student-card img { width: 40px; height: 40px; border-radius: 50%; }

/* VERİ GİRİŞ TABLOLARI */
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }

.entry-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.95em; }
.entry-table th { background-color: #34495e; color: white; padding: 10px; }
.entry-table td { border-bottom: 1px solid #ecf0f1; padding: 8px; text-align: center; }
.entry-table input { width: 60px; padding: 5px; text-align: center; border: 1px solid #ddd; border-radius: 4px; }
.entry-table input:focus { border-color: #3498db; outline: none; }
.net-val { font-weight: bold; color: #2980b9; }

/* BUTONLAR */
.save-btn { width: 100%; padding: 15px; background-color: #27ae60; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 1.2em; font-weight: bold; margin-top: 20px; transition: 0.3s; }
.save-btn:hover { background-color: #219150; }

/* SONUÇ TABLOSU */
#sonucTablosu { width: 100%; border-collapse: collapse; margin-top: 10px; }
#sonucTablosu th { background-color: #2c3e50; color: white; padding: 12px; }
#sonucTablosu td { border-bottom: 1px solid #ddd; padding: 12px; text-align: center; }
#sonucTablosu tr:hover { background-color: #f9f9f9; }
.delete-btn { background-color: #e74c3c; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; }

/* GİZLİLİK */
.hidden { display: none !important; }