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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
}

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

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.bilgi {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* Yeni iki sütunlu düzen */
.layout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.harita-bolum {
    flex: 1;
    min-width: 300px;
}

.veri-bolum {
    flex: 1;
    min-width: 300px;
}

.harita-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: auto;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#turkiye-haritasi {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.kontroller {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kontroller button {
    width: 30px;
    height: 30px;
    font-size: 16px;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.kontroller button:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Seçim kontrolleri */
.secim-kontroller {
    margin: 10px 0;
    display: flex;
    gap: 10px;
}

.secim-kontroller button {
    padding: 8px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.secim-kontroller button:hover {
    background-color: #45a049;
}

.secim-kontroller button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* SVG il stillemesi */
.il {
    cursor: pointer;
    fill: #e0e0e0;
    stroke: #fff;
    stroke-width: 1;
    transition: fill 0.3s ease;
}

.il:hover {
    fill: #b3d1ff;
}

.il.selected {
    fill: #4285f4;
}

/* Tablo Stilleri */
.veri-tablosu {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

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

.veri-tablosu th {
    background-color: #4285f4;
    color: white;
    position: sticky;
    top: 0;
}

.veri-tablosu tr:nth-child(even) {
    background-color: #f2f2f2;
}

.veri-tablosu tr:hover {
    background-color: #e6f2ff;
}

.tabloya-ekle {
    display: block;
    margin-top: 15px;
    padding: 8px 12px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-icerik {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
}

.modal-kapat {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-kapat:hover,
.modal-kapat:focus {
    color: black;
    text-decoration: none;
}

#modal-baslik {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

#modal-detay p {
    margin-bottom: 10px;
}

/* Herhangi bir veri yoksa gösterilecek mesaj */
.veri-yok {
    padding: 20px;
    text-align: center;
    color: #666;
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 5px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .layout-container {
        flex-direction: column;
    }
    
    .harita-container {
        height: 400px;
    }
    
    .modal-icerik {
        width: 90%;
        margin: 20% auto;
    }
}