﻿:root {
    --al: #E30A17;
}
#svg-turkey g g:hover {
    cursor: help;
}
/*#svg-turkey g g:hover path {*/
/*    fill: var(--al) !important;*/
/*}*/
#tooltip {
    position: absolute;
    border-radius: 7px;
    border: 3px solid #000000;
    box-shadow: inset 0 0 0 10px black;
}
#tooltip .plate {
    display: flex;
    background-color: #FFFFFF;
    color: #000000;
    font-family: sans-serif;
    font-size: 20px;
    border-radius: 7px;
}
#tooltip b {
    color: #FFFFFF;
    background-color: #0249c7;
    border-radius: 6px 0 0 6px;
    padding: 6px;
    margin-right: 5px;
}
#tooltip span {
    padding: 6px;
}

/************************/
/* Fix the selected city style to ensure it applies properly */
g#turkey > g.selected {
    stroke: none;
    stroke-width: 0;
    fill: #0249c7 !important; /* Vibrant blue fill */
    transition: fill 0.2s ease; /* Smooth color change only */
}

/* Enhanced fancy plate numbers without fade animation */
g#turkey > g.selected .city-plate-number {
    font-family: 'Segoe UI', 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 12px; /* Larger size */
    font-weight: 800; /* Extra bold */
    fill: #ffffff; /* Bright white */
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;

    /* Fancy effects without animation */
    paint-order: stroke;
    stroke: #000000; /* Black outline */
    stroke-width: 1.5px; /* Thicker outline */
    letter-spacing: 1px; /* More spacing between characters */

    /* 3D effect with multiple shadows */
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.7))
    drop-shadow(0 2px 3px rgba(0,0,0,0.5));
}

/* Make sure the path fill in selected cities works properly */
g#turkey > g.selected path {
    fill: inherit !important; /* Ensure the fill is applied to child paths */
}

.city-label {
    font-size: 12px;
    fill: #222;
    font-weight: bold;
    pointer-events: none;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 2px;
}

.city-label-group .city-label-plate {
    font-family: 'Segoe UI', 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    fill: #fff;
    letter-spacing: 1px;
}
.city-label-group .city-label-name {
    font-family: 'Segoe UI', 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    fill: #222;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 2px;
}
.city-label-group rect {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.13));
}

.tooltip-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 73, 199, 0.3);
}

.tooltip-toggle-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .tooltip-toggle-btn {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
}