body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background: #f8f9fa;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

th, td {
    border: 1px solid #ccc;
    padding: 8px 5px;
    text-align: center;
    font-size: 15px;
}

th {
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
    color: #222;
}

tbody tr:nth-child(even) {
    background: #f9f9f9;
}

input[type="text"], select, button {
    margin: 5px;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #bbb;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
}

input[type="text"]:focus, select:focus {
    border: 1.5px solid #007bff;
}

input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 6px;
}

button {
    background: #a8ffdb; /* light mint green */
    color: #222;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

button:hover, .custom-file-label:hover {
    background: #7beecb; /* nedaudz tumšāks mint green uz hover */
}

.custom-file-label {
    display: inline-block;
    padding: 8px 16px;
    background: #a8ffdb; /* light mint green */
    color: #222;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px 0;
    transition: background 0.2s;
    font-size: 16px;
    border: none;
}

#pagination {
    margin-top: 18px;
    text-align: center;
}

#pagination button {
    margin: 0 3px;
    min-width: 70px;
}

@media (max-width: 768px) {
    body {
        padding: 5px;
    }
    table {
        font-size: 12px;
    }
    th, td {
        padding: 3px;
        font-size: 12px;
    }
    input[type="text"], select, button, .custom-file-label {
        font-size: 12px;
        padding: 5px 6px;
    }
    #pagination button {
        min-width: 50px;
        font-size: 12px;
    }
}