.grid {
  width: 60%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 3% auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

h1 {
  font-size: 3em;
}

.prueba {
  width: 20%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
}
.prueba:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.prueba p {
  font-size: 1em;
}

.prueba h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #0077cc;
}

.acciones button {
  margin: 0.5rem;
  font-size: 1rem;
}

.btn-mas {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  width: 90%;
  max-width: 700px;
  animation: slideUp 0.3s ease;
  transition: all 0.3s ease;
}

.modal-content h3 {
  margin-top: 0;
  color: #333;
  font-size: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

label {
  font-weight: 600;
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 0.5rem;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10%;
}

.inputEspeciales {
  display: flex;
  flex-direction: row;
  gap: 10%;
  width: 100%;
}

input,
textarea,
select {
  font-family: Arial, sans-serif;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input {
  width: 50%;
}

input[type="date"] {
  padding: 0.5rem;
  font-size: 1rem;
  width: 80%;
}

input[type="time"] {
  padding: 0.5rem;
  font-size: 1rem;
  width: 50%;
}

textarea {
  width: 50%;
  min-height: 120px;
  max-height: 300px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #3498db;
  outline: none;
}

.botones {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.aceptar,
.cancelar {
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 48%;
  text-align: center;
}

.aceptar {
  background-color: #27ae60;
  color: white;
  border: none;
}

.aceptar:hover {
  background-color: #2ecc71;
}

.cancelar {
  background-color: #e74c3c;
  color: white;
  border: none;
}

.cancelar:hover {
  background-color: #c0392b;
}
/* Animaciones suaves */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
