body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  margin: 0;
}

.nav {
  background: #222;
  color: white;
  padding: 10px 20px;
}

.nav a {
  color: #ddd;
  margin-left: 15px;
  text-decoration: none;
}

.nav a:hover {
  color: white;
}

.container {
  padding: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 300px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

input, select, textarea {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  padding: 10px;
  border: none;
  background: #4a7cff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #355fe0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 15px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

tr:hover {
  background: #f9f9f9;
}

.error {
  color: red;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #4a7cff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;

  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  min-width: 320px;
  max-width: 400px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.modal-close button {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

.inline-form {
  display: inline;
}

.delete-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
}