@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;600&display=swap');

body {
    font-family: 'Prompt', sans-serif;
    background: linear-gradient(135deg, #ecf0f3, #fdfdfd);
    padding: 40px;
    margin: 0;
}

h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.table-container {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    margin: auto;
    overflow-x: auto;
}

table.dataTable {
    width: 100%;
    border-collapse: collapse;
}

table.dataTable thead th {
    background-color: #3498db;
    color: white;
    text-align: center;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #f2f9ff;
}

table.dataTable tbody tr:hover {
    background-color: #e0f0ff;
}

div.dataTables_filter {
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    color: white;
}

.modal-content {
    border-radius: 15px;
}

.modal-body label {
    margin-bottom: 5px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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