body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

.data-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.dashboard-wrapper {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05 );
}

.main-title {
    text-align: center;
    margin-bottom: 20px;
}

.main-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.map-section {
    position: relative;
    margin-bottom: 24px;
}

#interactive-map {
    border-radius: 12px;
    height: 480px;
    z-index: 1;
}

.map-legend {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 10;
}

.map-legend h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.map-legend ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.map-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.map-legend li:last-child {
    margin-bottom: 0;
}

.color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-radius: 4px;
}

.kpi-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.card img {
    height: 32px;
    margin-bottom: 12px;
}

.card h3 {
    margin: 0 0 5px 0;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chart-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.chart-card h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.data-switch-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.switch-btn {
    padding: 12px 28px;
    border: 2px solid #059669;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #059669;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-btn:hover {
    border-color: #047857;
    color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.switch-btn.active {
    background-color: #059669;
    border-color: #059669;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.switch-btn.active:hover {
    background-color: #047857;
    border-color: #047857;
}

.header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #059669;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-greeting {
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
}

.btn {
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #059669;
    color: white;
    border-color: #059669;
}

.btn-primary:hover {
    background-color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.breadcrumb-nav {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-item a {
    color: #059669;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #047857;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #1f2937;
    font-weight: 600;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #9ca3af;
    font-size: 14px;
}