* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif !important;
}

.logo-center {
    display: block;
    margin: 0 auto;
    width: 40%;
    max-width: 100%;
    height: auto;
    padding: 0;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    font-family: 'Nunito', sans-serif !important;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Nunito', sans-serif !important;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-family: 'Nunito', sans-serif !important;
}

h2 {
    margin-bottom: 1rem;
    color: #3498db;
    font-family: 'Nunito', sans-serif !important;
}

.upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 2rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.upload-section.uploaded {
    border: 2px solid #27ae60 !important;
}
.upload-section.uploaded:hover {
    border: 2px solid #27ae60 !important;
}

#uploadControls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.upload-section:hover {
    border-color: #3498db;
}
.upload-section.uploaded:hover {
    border-color: #27ae60 !important;
}

.file-label {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Nunito', sans-serif !important;
}

.file-label:hover {
    background-color: #2980b9;
}

.file-label input {
    display: none;
}

.file-info {
    margin-top: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif !important;
}

.table-container {
    margin-top: 2rem;
}

.table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

thead {
    background-color: inherit;
    color: inherit;
    position: static;
    top: unset;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-weight: normal;
    font-family: 'Nunito', sans-serif !important;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

.hidden {
    display: none !important;
}

.loading {
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}
.loading.show {
    display: flex !important;
}

#exportButtons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.export-btn-group {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}

.export-header {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Nunito', sans-serif !important;
}

.export-btn {
    background-color: transparent;
    color: #27ae60;
    border: 2px solid #27ae60;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.1);
    font-family: 'Nunito', sans-serif !important;
}
.export-btn.xlsx {
    background-color: #27ae60;
    color: #fff;
    border: 2px solid #27ae60;
}
.export-btn.xlsx:hover {
    background-color: #219150;
    border-color: #219150;
}
.export-btn.xls:hover,
.export-btn.csv:hover {
    background-color: #eafaf1;
    color: #219150;
    border-color: #219150;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-left-color: #3498db;
    animation: spin 1s linear infinite;
    font-family: 'Nunito', sans-serif !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
