/* Reset */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; 
    background: #fafafa; 
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    background-color: #3a86ff;
    color: white;
    padding: 20px 30px;
    position: relative;
    box-shadow: 0 2px 8px rgba(58,134,255,0.4);
}
header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8em;
}
main {
    padding: 25px 30px;
    flex-grow: 1;
}
#filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
#filters label {
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 6px;
    display: block;
}
#filters > div {
    flex: 1 1 180px;
    min-width: 180px;
}
#filters input {
    width: 100%;
    padding: 10px 14px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}
#filters input:focus {
    border-color: #3a86ff;
    outline: none;
}
#filters .buttons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 160px;
}
#filters button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    color: white;
    user-select: none;
    transition: background-color 0.3s;
    flex-grow: 1;
}
#btn-apply {
    background-color: #3a86ff;
}
#btn-apply:hover {
    background-color: #265dff;
}
#btn-reset {
    background-color: #999;
}
#btn-reset:hover {
    background-color: #666;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    overflow: hidden;
}
thead {
    background-color: #3a86ff;
    color: white;
    font-weight: 700;
}
th, td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
    user-select: text;
}
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
tbody tr:hover {
    background-color: #dbe9ff;
}
#no-data {
    margin-top: 15px;
    font-style: italic;
    color: #666;
    text-align: center;
}
footer {
    padding: 15px 30px;
    text-align: center;
    background: #eee;
    font-size: 0.9em;
    color: #666;
}
@media (max-width: 720px) {
    #filters {
        flex-direction: column;
    }
    #filters > div {
        min-width: auto;
    }
    th, td {
        padding: 10px 12px;
        font-size: 0.85em;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-button {
    background-color: #3a86ff;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: 0 2px 6px rgba(58, 134, 255, 0.5);
}
.admin-button:hover {
    background-color: #265dff;
}
