body {
    font-family: Arial, sans-serif;
    margin: 40px;
    background: #ebf5ee;
    color: #222;
}

h1 {
    text-align: center;
    font-size: 300%;
}

.login-box, form {
    max-width: 420px;
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 40px auto;
}

input, select, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

button, .btn {
    background: #3d9c3d;
    color: white;
    border: none;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    width: auto;
    cursor: pointer;
}

.btn:hover {
    background: white;
    color: #3d9c3d;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.actions {
    margin-bottom: 20px;
}

.actions .btn {
    margin-right: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cont {
    display: flex;
    justify-content: center;
    margin: 40px auto;
}

.error {
    color: red;
}


.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filters input,
.filters select {
    max-width: 250px;
    background: white;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
    }

    .filters input,
    .filters select {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {

    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none; /* hide table headers */
    }

    tr {
        background: white;
        margin-bottom: 15px;
        padding: 12px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    td {
        border: none;
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #555;
    }
}