body {
    font-family: 'Segoe UI', 'Inter', sans-serif;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    font-size: 1rem;
    width: 100% !important;
    padding: 5px;
}
.container {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 100%;
}
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ced4da;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-top: 0.25rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
}
.dataTables_wrapper .dataTables_filter input:hover {
    transform: perspective(500px) translateZ(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    transform: perspective(500px) translateZ(5px);
    background: linear-gradient(180deg, #e9ecef, #dee2e6);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(180deg, #007bff, #0056b3);
    color: white !important;
    border-color: #007bff;
}
#dataTable th, #dataTable td {
    max-width: 6.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}
#dataTable tr:hover {
    background-color: #e9ecef;
    transform: scale(1.02);
}
#dataTableContainer {
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.tile {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    color: white;
    margin: 0.3125rem;
    border-radius: 0.5rem;
    padding: 0.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tile:hover {
    transform: perspective(500px) translateZ(10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.tile:nth-child(8n+1) {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
}
.tile:nth-child(8n+2) {
    background: linear-gradient(45deg, #10b981, #34d399);
}
.tile:nth-child(8n+3) {
    background: linear-gradient(45deg, #ef4444, #f87171);
}
.tile:nth-child(8n+4) {
    background: linear-gradient(45deg, #8b5cf6, #a78bfa);
}
.tile:nth-child(8n+5) {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
}
.tile:nth-child(8n+6) {
    background: linear-gradient(45deg, #0d9488, #14b8a6);
}
.tile:nth-child(8n+7) {
    background: linear-gradient(45deg, #6f42c1, #9f7aea);
}
.tile:nth-child(8n) {
    background: linear-gradient(45deg, #fd7e14, #ff9f43);
}
.control-group {
    min-width: 10rem;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}
.control-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
}
.control-group input,
.control-group select {
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.control-group input:hover,
.control-group select:hover {
    transform: perspective(500px) translateZ(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.control-group input:focus,
.control-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    background: linear-gradient(180deg, #e9ecef, #dee2e6);
}
.standard-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.standard-btn:hover {
    transform: perspective(500px) translateZ(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.standard-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.clear-btn {
    padding: 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #e9ecef, #dee2e6);
    color: #343a40;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.clear-btn:hover {
    background: linear-gradient(180deg, #dee2e6, #ced4da);
    transform: perspective(500px) translateZ(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.tab {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem 0.5rem 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tab:hover {
    transform: perspective(500px) translateZ(5px);
}
.tab.active {
    background: linear-gradient(180deg, #007bff, #0056b3);
    color: white;
}
.tab:not(.active) {
    background: linear-gradient(180deg, #e9ecef, #dee2e6);
    color: #343a40;
}
.tab:not(.active):hover {
    background: linear-gradient(180deg, #dee2e6, #ced4da);
}
#sharedLegend {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #343a40;
}
.legend-color {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border-radius: 0.25rem;
}
.chart-canvas {
    width: 100%;
}
.chart-canvas.pie {
    width: 75%;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .control-group {
        min-width: 8rem;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    .chart-canvas.pie {
        width: 90%;
    }
}
.tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.tab.active {
    background-color: #4f46e5;
    color: white;
    border-radius: 0.375rem 0.375rem 0 0;
}
.tab:not(.active) {
    background-color: #e5e7eb;
    color: #374151;
}
.control-group {
    min-width: 12rem;
}
.clear-btn {
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
    color: #374151;
}
.clear-btn:hover {
    background-color: #e5e7eb;
}
.tile {
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.pill {
    background-color: #f3f4f6;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
}
.legend-item {
    display: flex;
    align-items: center;
}
.legend-color {
    width: 1rem;
    height: 1rem;
}
.chart-canvas {
    max-height: 300px;
}
.chart-canvas.pie {
    max-width: 400px;
    margin: 0 auto;
}