body {
  font-family: 'Cairo', sans-serif;
  background: #f1f5f9;
  margin: 0;
  padding: 0;
}

header.header {
  background: #2563eb;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.add-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.add-btn:hover { background: #059669; }

.dataTables_wrapper {
  width: 95%;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

table.dataTable thead th {
  background: #2563eb;
  color: white;
  text-align: center;
}

tfoot th {
  background: #e2e8f0;
  font-weight: bold;
  text-align: center;
}

.edit-btn, .delete-btn {
  border: none;
  border-radius: 4px;
  padding: 5px 8px;
  cursor: pointer;
  margin: 0 2px;
}
.edit-btn { background: #3b82f6; color: white; }
.delete-btn { background: #ef4444; color: white; }

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 500px;
  max-width: 95%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.close {
  cursor: pointer;
  font-size: 22px;
  color: #666;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin: 8px 0;
}

.input-group input {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  font-size: 14px;
}

.submit-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
}
.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 8px 12px;
  margin: 10px auto;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: fit-content;
}
#filterClient {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}
#filterClient:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 4px rgba(37,99,235,0.3);
}

.submit-btn:hover { background: #1d4ed8; }
