#search-input {
    margin-bottom: 10px;
    padding: 10px;
    width: 200px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right:10px;
}

.controls {
    margin-bottom: 10px;
    display: flex;
    gap:10px;
    align-items:center;
}
.controls select, .controls button {
    padding:5px 10px;
}

table.widefat {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border: 1px solid #ddd;
}

table.widefat th, table.widefat td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table.widefat th {
    background-color: #f9f9f9;
    font-weight: bold;
}

table.widefat tr:nth-child(even) {
    background-color: #f2f2f2;
}

.edit-btn, .delete-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right:5px;
}

.edit-btn {
    background-color: #0073aa;
    color: #fff;
}

.delete-btn {
    background-color: #d63638;
    color: #fff;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-modal {
    margin-top: 10px;
    padding: 10px 15px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.close-modal:hover {
    background: #005a8c;
}

.pagination {
    margin-top:10px;
    display:flex;
    gap:20px;
    align-items:center;
}

#prev-page-btn, #next-page-btn {
    padding:5px 10px;
}

.custom-toast {
    position: fixed;
    top:20px;
    right:20px;
    background:#000;
    color:#fff;
    padding:10px 15px;
    border-radius:5px;
    z-index:9999;
    opacity:0.9;
}
.custom-toast.success {
    background:green;
}
.custom-toast.error {
    background:red;
}

tr.deleted {
    background-color: #f5c6cb;
    color: #721c24;
}