* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f9;
    line-height: 1.6;
}
#wrapper {
    max-width: 1400px;
    margin: 20px auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    font-size: 24px;
}
.kullanici-info {
    font-size: 14px;
}
.kullanici-info a {
    color: #ffc107;
    margin-left: 15px;
    text-decoration: none;
}
nav {
    background: #34495e;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    margin-right: 5px;
    border-radius: 4px;
    transition: background 0.3s;
}
nav a:hover {
    background: #2c3e50;
}
main {
    padding: 30px;
    min-height: 500px;
}
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Formlar */
.form-kapsayici {
    max-width: 800px;
    margin: 0 auto;
}
.form-row {
    margin-bottom: 20px;
}
.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.form-row input[type="text"],
.form-row input[type="number"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.form-row small {
    color: #666;
    font-size: 12px;
}
button, .btn {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}
button:hover, .btn:hover {
    background: #2980b9;
}
.hata {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.basarili {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Tablolar */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.data-table th {
    background: #2c3e50;
    color: white;
    padding: 12px;
    text-align: left;
}
.data-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.data-table tr:hover {
    background: #f5f5f5;
}
.btn-kucuk {
    padding: 5px 10px;
    background: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
}
.btn-kucuk:hover {
    background: #7f8c8d;
}
.sil {
    background: #e74c3c;
}
.sil:hover {
    background: #c0392b;
}

/* Dashboard */
.istatistik-kutulari {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.kutu {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.kutu strong {
    display: block;
    font-size: 32px;
    color: #2c3e50;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.menu-item {
    background: #ecf0f1;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    transition: all 0.3s;
}
.menu-item:hover {
    background: #3498db;
    color: white;
}

/* Ana sayfa haberler */
.haberler article {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #3498db;
}
.haber .tarih {
    color: #7f8c8d;
    font-size: 14px;
}
.foto-galeri {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.foto {
    width: 200px;
    text-align: center;
}
.foto img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

/* Grafikler */
.grafikler {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.grafik {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    nav a {
        margin-bottom: 5px;
    }
    .grafikler {
        grid-template-columns: 1fr;
    }
}