﻿
/* Stats Container Styles */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
    min-width: 200px;
    min-height: 150px;
    flex: 1;
    max-width: 280px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bbb;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-top: 5px;
}

.cities-distribution-card {
    min-width: 300px;
    max-width: 350px;
}

.mini-chart-container {
    margin-top: 15px;
    width: 100%;
}

.telerik-mini-chart {
    width: 100%;
    height: 120px;
}

.no-data-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #999;
    padding: 20px;
}

/* Cities Chart Section Styles */
.cities-chart-section {
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.chart-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

    .chart-header h6 {
        color: #495057;
        font-weight: 600;
        margin: 0;
    }

.chart-content {
    padding: 1.5rem;
    min-height: 400px;
}

.chart-container {
    height: 350px;
    width: 100%;
}

.no-chart-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 350px;
    color: #6c757d;
}

    .no-chart-data i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

/* Cities Breakdown Styles */
.cities-breakdown {
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.3;
    max-height: 80px;
    overflow-y: auto;
}

.country-cities-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

    .country-cities-item:last-child {
        border-bottom: none;
    }

.country-name {
    color: #666;
    font-weight: 500;
    flex: 1;
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cities-count {
    color: #007bff;
    font-weight: bold;
    background: rgba(0,123,255,0.1);
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Grid Cities Chart Styles */
.grid-cities-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    height: 100px;
    justify-content: space-between;
}

.chart-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.25rem;
}

.cities-number {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    line-height: 1;
}

.cities-text {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.mini-bar-container {
    flex: 1;
    width: 24px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    min-height: 40px;
    position: relative;
    margin: 0.25rem 0;
}

.mini-vertical-bar {
    width: 100%;
    border-radius: 12px;
    transition: height 0.8s ease-in-out;
    min-height: 8px;
    position: relative;
    cursor: pointer;
    animation: slideUp 1s ease-out;
}

    .mini-vertical-bar:hover {
        opacity: 0.8;
        transform: scaleX(1.1);
    }

.percentage-label {
    font-size: 0.6rem;
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.1rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@@keyframes slideUp {
    from {
        height: 0%;
    }

    to {
        height: var(--target-height);
    }
}

