/* Estilos generales */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #e8ecf0;
  padding: 1.5rem;
}

nav {
  background: #343a40;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav strong {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

nav input {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid #ced4da;
}

#agenda {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
}

#agenda thead {
  background: #f1f3f5;
}

#agenda th, #agenda td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #dee2e6;
  text-align: left;
  font-size: 0.95rem;
}

#agenda th {
  font-weight: 600;
  color: #f5f8f4;
}

#agenda tr:hover {
  background: #f8f9fa;
}

button {
  font-size: 0.85rem;
  border-radius: 4px;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease;
}

button.secondary {
  background: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

button.secondary:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
}

button.contrast {
  background: #dc3545;
  border-color: #dc3545;
  color: white;
}

button.contrast:hover {
  background: #bb2d3b;
  border-color: #b02a37;
}

dialog {
  border: none;
  border-radius: 8px;
  padding: 1.5rem;
  background: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  width: 400px;
  max-width: 100%;
}

dialog header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

dialog input {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 0.5rem;
}

dialog input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13,110,253,.25);
}

