* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.header a {
    color: white;
    text-decoration: none;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

button {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #45a049;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.menu-card .icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.menu-card h3 {
    margin-bottom: 10px;
}

.menu-card p {
    font-size: 14px;
    color: #666;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}
// Modal CSS (style.css'e ekle)

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}
.close:hover {
    color: red;
}
/* Yıl sonu ortalaması için özel stiller */
.score-table th:last-child {
    background-color: #9C27B0;
    color: white;
}

/* 50-70 arası için uyarı rengi */
.bg-yellow {
    background-color: #ffc107;
    color: #333;
}

/* Detay satırında yıl sonu ortalaması vurgusu */
.detail-item:last-child {
    background-color: #f3e5f5;
    border-left: 3px solid #9C27B0;
}
/* Yıl sonu ortalaması sütunu özel stili */
.score-table td:last-child {
    font-weight: bold;
    text-align: center;
}

/* Hover efektinde yıl sonu sütunu */
.score-table tr:hover td:last-child {
    transform: scale(1.05);
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .score-table {
        font-size: 12px;
    }
    
    .score-table th, .score-table td {
        padding: 5px;
    }
}
