@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.secimgundem-dashboard {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
    background: #f7f9fc;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.secimgundem-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e5eb;
}

.secimgundem-title-box h2 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 26px;
    font-weight: 700;
}

.secimgundem-title-box p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
}

.secimgundem-selector-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.secimgundem-selector-box label {
    font-weight: 600;
    color: #34495e;
}

.secimgundem-dropdown {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #dcdde1;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: border-color 0.3s ease;
}

.secimgundem-dropdown:focus {
    border-color: #3498db;
}

.secimgundem-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.secimgundem-map-container {
    flex: 1 1 55%;
    min-width: 320px;
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.turkey-svg-wrapper {
    width: 100%;
    height: auto;
}

.turkey-svg-wrapper svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1));
}

.turkey-svg-wrapper svg path.province {
    cursor: pointer;
    transition: fill 0.3s ease, filter 0.2s ease, transform 0.2s ease;
    transform-origin: center;
}

.turkey-svg-wrapper svg path.province:hover {
    filter: brightness(0.85);
    stroke: #333;
    stroke-width: 1.5px;
}

.secimgundem-tooltip {
    position: absolute;
    background: rgba(44, 62, 80, 0.95);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
    min-width: 120px;
}

.secimgundem-tooltip .tooltip-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 4px;
}

.secimgundem-results-container {
    flex: 1 1 40%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card-style {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card-style h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #2c3e50;
    border-bottom: 2px solid #f1f2f6;
    padding-bottom: 10px;
    font-weight: 600;
}

.city-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f2f6;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.city-header-box h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#selected-city-stats-summary {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

/* Progress Bars */
.party-stat-row {
    margin-bottom: 12px;
}

.party-stat-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #34495e;
}

.party-stat-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.party-stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Timeline */
.secimgundem-timeline-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e1e5eb;
}

.secimgundem-timeline-section h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.timeline-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.timeline-btn {
    background: #fff;
    border: 2px solid #dcdde1;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-btn:hover, .timeline-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .secimgundem-header-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .secimgundem-layout {
        flex-direction: column;
    }
}

.secimgundem-tooltip { position: absolute; background: rgba(0,0,0,0.85); color: #fff; padding: 10px 15px; border-radius: 6px; font-size: 13px; font-weight: 500; pointer-events: none; z-index: 999999; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: opacity 0.2s ease; transform: translate(-50%, -100%); margin-top: -15px; } .secimgundem-tooltip .tooltip-title { font-weight: 700; font-size: 15px; margin-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 3px; display: block; }

