/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-contenido input,
.modal-contenido select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.modal-contenido .btn-guardar {
  width: 100%;
  padding: 12px;
  background-color: #3E6C3E;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-contenido .btn-guardar:hover {
  background-color: #2b502b;
}

.modal-contenido .cerrar {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 20px;
  color: #666;
  cursor: pointer;
}

.notificacion {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #3E6C3E;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.notificacion.mostrar {
    opacity: 1;
}

