
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

body {
    background-color: #0f172a;
    color: white;
    font-family: 'Tajawal', sans-serif;
    padding: 20px;
    margin: 0;
}

h1, h2 {
    color: #ffc107;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: #1e293b;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #334155;
}

th {
    background-color: #1e40af;
}

tr:hover {
    background-color: #1e293b;
}

input[type="text"], input[type="number"], select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: none;
    background-color: #1e293b;
    color: white;
    border-radius: 5px;
}

button {
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0288a7;
}

.pagination button {
    background-color: #334155;
    margin: 2px;
}

.pagination button:hover {
    background-color: #1e40af;
}

.search-bar {
    margin-bottom: 20px;
    text-align: center;
}

#editModal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

#editModal div {
    background: #1e293b;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}

#editModal input {
    width: 90%;
    margin-bottom: 10px;
}

#editModal.show {
  display: flex !important;
}
