body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background: #f7f7f7;
}

/* TABLE ----------------------------------------------------- */

.table-container {
    margin-top: 20px;
    overflow-x: auto;
}

table.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

table.modern-table th {
    background: #2C3E50;
    color: white;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #1A252F;
}

table.modern-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table.modern-table tr:hover {
    background: #f1f1f1;
}

/* PAGINATION ------------------------------------------------ */

.pagination {
    margin: 10px 0;
}

.pagination a {
    padding: 6px 10px;
    background: #e0e0e0;
    margin-right: 5px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    color: #333;
}

.pagination a:hover {
    background: #bdbdbd;
}

.pagination .active {
    background: #2C3E50;
    color: white;
}

/* BUTTONS --------------------------------------------------- */

button {
    padding: 8px 16px;
    background: #2C3E50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #1A252F;
}

/* ACTION BUTTONS ------------------------------------------- */

.action-button {
    color: #c0392b;
    text-decoration: none;
    font-weight: bold;
}

.action-button:hover {
    text-decoration: underline;
}

/* FORMS ----------------------------------------------------- */

.form-block {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

input, select {
    padding: 6px;
    margin: 4px 0;
}

h1, h2 {
    color: #2C3E50;
}

.message {
    padding: 10px;
    background: #dff0d8;
    border-left: 4px solid #3c763d;
    margin-bottom: 15px;
}

.error {
    padding: 10px;
    background: #f2dede;
    border-left: 4px solid #a94442;
    margin-bottom: 15px;
}
/* ACTION BUTTONS ------------------------------------------- */
.action-button {
    padding: 6px 12px;
    margin: 2px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    font-size: 13px;
}

.edit-button {
    background: #3498db;
    color: white;
}

.edit-button:hover {
    background: #2980b9;
    text-decoration: none;
}

.delete-button {
    background: #e74c3c;
    color: white;
}

.delete-button:hover {
    background: #c0392b;
    text-decoration: none;
}
