body {
  font-family: "Inter", sans-serif;
  background: #f5fdf7;
  margin: 0;
  padding: 0;
  color: #1a3c24;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1, h2 {
  color: #2d6a4f;
}

.controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: #2d6a4f;
  color: white;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #2d6a4f;
  color: #2d6a4f;
}

.icon-btn {
  background: #2d6a4f;
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  color: white;
  cursor: pointer;
}

.icon-btn:hover {
  background: #40916c;
}

/* Tabla */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

th, td {
  padding: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

th {
  background: #2d6a4f;
  color: white;
}

tr:hover td {
  background: #f1f8f4;
}

/* Botón flotante */
.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2d6a4f;
  border: none;
  border-radius: 50%;
  padding: 1rem;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.fab:hover {
  background: #40916c;
}

/* Modal */
dialog {
  border: none;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
}

dialog::backdrop {
  background: rgba(0,0,0,0.5);
}

#eventForm input, #eventForm textarea {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}