body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    font-size: 0.9rem;
}

.fade-in {
  animation: fadeInAnimation 0.5s ease-in;
}

@keyframes fadeInAnimation {
  from { opacity: 0; }
  to { opacity: 1; }
}

th {
    transition: background-color 0.2s ease;
}

th:hover {
    background-color: #e6f2ff; /* Light blue on hover */
}

/* KPI card styling */
#summary-cards .card {
    background-color: #f8f9fa; /* Soft light gray */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

#summary-cards .card:hover {
    transform: scale(1.02);
    background-color: #e9f2ff; /* Soft blue on hover */
}

#dashboard-wrapper {
    background-color: #ffffff; /* white background */
    border: 1px solid #dee2e6; /* light gray border */
    border-radius: 8px; /* smooth rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* soft shadow */
}

.info.legend {
    background: white;
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    line-height: 18px;
    color: #555;
}

.info.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
    background: #000;
    margin-top: 2px;
}

.info.legend div {
    clear: both;
}

