/* URBANOME BI System Styles */

.info.legend {
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    line-height: 1.5;
    color: #333;
}

.info.legend h5 {
    margin: 0 0 5px;
    color: #777;
    font-size: 14px;
    font-weight: bold;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-item input[type="radio"] {
    margin-right: 8px;
}

.legend-item label {
    margin-bottom: 0; /* Override Bootstrap styles */
    font-size: 13px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    font-weight: bold;
}

/* Map styles */
#map {
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.control-panel .form-check {
    margin-bottom: 8px;
}

.legend i {
    border-radius: 3px;
}

/* Chart styles */
.metric-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chart-container {
    min-height: 300px;
}

/* Improvement indicators */
.improvement-indicator {
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
}

.improvement-positive {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.improvement-negative {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.improvement-neutral {
    background-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

/* Area details */
.area-metrics table {
    width: 100%;
}

.area-metrics th {
    text-align: left;
    padding: 8px;
}

.area-metrics td {
    padding: 8px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
