body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    font-family: 'Fredoka', 'Comic Neue', sans-serif;
    min-height: 100vh;
}

.title-bounce {
    color: white;
    text-shadow: 3px 3px 0 #ff6b6b, 6px 6px 0 rgba(0,0,0,0.2);
    animation: bounce 2s infinite;
    font-family: 'Fredoka', sans-serif;
}

.subtitle {
    color: #fff9c4;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 5px dashed #ffd700;
}

.map-container svg {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

.map-container svg path {
    transition: all 0.3s ease;
    stroke: #fff;
    stroke-width: 1;
}

.info-panel, .il-listesi {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 3px solid #ffd700;
}

.panel-title {
    color: #ff6b6b;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px dotted #ffd700;
    padding-bottom: 10px;
}

.plaka-badge {
    display: inline-block;
    background: #3498db;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-weight: bold;
    font-size: 0.85em;
    margin-right: 8px;
}

.il-item {
    color: #2c3e50;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.il-item:hover {
    background: #fff9c4;
    border-left-color: #ff6b6b;
    transform: translateX(5px);
    color: #ff6b6b;
}

.modal-fancy {
    border-radius: 25px;
    border: 4px solid #ffd700;
    overflow: hidden;
}

.modal-header-fancy {
    background: linear-gradient(135deg, #ff6b6b, #ffa502);
    color: white;
    border: none;
}

.modal-header-fancy .modal-title {
    font-weight: 700;
}

.info-box {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 12px 15px;
    border-radius: 15px;
    margin-bottom: 8px;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Login */
.login-bg {
    background: linear-gradient(135deg, #667eea, #764ba2);
    min-height: 100vh;
}

.login-card {
    border-radius: 25px;
    border: 4px solid #ffd700;
    background: white;
}

.admin-bg {
    background: #ecf0f1;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #bdc3c7;
}

.form-control:focus, .form-select:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.2rem rgba(255,107,107,0.25);
}

.btn { border-radius: 10px; font-weight: 600; }

.card { border-radius: 20px; overflow: hidden; border: none; }

.table td, .table th { vertical-align: middle; }

@media (max-width: 768px) {
    .title-bounce { font-size: 1.8em; }
    .map-container { padding: 10px; }
}

/* 🏷️ Harita üzerindeki il isimleri */
.il-ismi {
    font-family: 'Fredoka', sans-serif;
    font-size: 9px;
    font-weight: 600;
    fill: #2c3e50;
    stroke: white;
    stroke-width: 0.5px;
    paint-order: stroke;
    pointer-events: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.il-ismi:hover {
    font-size: 14px;
    font-weight: 900;
    fill: #ff6b6b;
}

/* Küçük iller için daha küçük font */
@media (max-width: 768px) {
    .il-ismi {
        font-size: 7px;
    }
}

/* 🗺️ Modal içindeki il haritası */
.il-haritasi-konteyner {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 50%, #80deea 100%);
    border-radius: 15px;
    padding: 15px;
    min-height: 350px;  /* 🆕 Büyütüldü */
    height: 350px;      /* 🆕 Sabit yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* 🆕 Dekoratif arka plan deseni */
.il-haritasi-konteyner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.il-haritasi-svg {
    width: 100%;
    height: 100%;
    max-height: 320px;
    position: relative;
    z-index: 1;
}

.il-ismi-buyuk {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    fill: #2c3e50;
    stroke: white;
    stroke-width: 0.5px;
    paint-order: stroke;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.9);
}

/* 🏘️ İlçe listesi */
.ilce-listesi {
    max-height: 300px;
    overflow-y: auto;
}

.ilce-item {
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    border-left: 4px solid #4ecdc4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 0.9em;
    transition: all 0.2s;
}

.ilce-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ilce-numara {
    display: inline-block;
    background: #4ecdc4;
    color: white;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: bold;
    margin-right: 8px;
}

/* 📺 YouTube konteyner */
.youtube-konteyner {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #ff0000;
}

.youtube-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    border: 3px dashed #ff0000;
}

/* Modal XL */
.modal-xl {
    max-width: 1400px;
}

.modal-body .col-md-4 {
    background: white;
}

/* Scrollbar stilleri */
.ilce-listesi::-webkit-scrollbar {
    width: 8px;
}

.ilce-listesi::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ilce-listesi::-webkit-scrollbar-thumb {
    background: #4ecdc4;
    border-radius: 10px;
}

.ilce-listesi::-webkit-scrollbar-thumb:hover {
    background: #3dbdb4;
}

/* Responsive */
@media (max-width: 992px) {
    .modal-xl {
        max-width: 95%;
    }
    
    .modal-body .col-md-4 {
        border-right: none !important;
        border-bottom: 2px solid #eee;
    }
}