/* Importar la fuente Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/* Estilo base */
* {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

/* Títulos */
h2 {
  text-align: center;
  margin: 20px 0;
  color: #444;
  font-weight: 600;
}

/* Oculto por defecto */
.oculto {
  display: none;
}

/* Contenedor principal */
#app {
  padding: 20px;
  text-align: center;
}

/* Tarjetas, etc. */
#solicitudes {
  max-width: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px;
}
.card p {
  margin: 5px 0;
  font-size: 14px;
}
.card button {
  margin-top: 10px;
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
.btn-contact {
  background-color: #007BFF;
  color: #fff;
}
.btn-contact:hover {
  background-color: #0056b3;
}
.btn-delete {
  background-color: #FF4D4D;
  color: #fff;
}
.btn-delete:hover {
  background-color: #cc0000;
}

/* Botón flotante */
#addButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
#addButton:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

/* Botones extras */
#extraButtons {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.circle-button {
  width: 50px;
  height: 50px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.circle-button:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}
.circle-button i {
  font-size: 20px;
}

/* Modales personalizados con <div> */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999; /* Suficiente alto para que quede sobre la app */
}
.modal .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.modal .modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Formato de formularios */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modal-content label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}
.modal-content input, 
.modal-content select {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.form-buttons button {
  flex: 1;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}
.form-buttons button[type="submit"] {
  background-color: #28a745;
  color: #fff;
}
.form-buttons button[type="submit"]:hover {
  background-color: #218838;
  transform: scale(1.05);
}
.form-buttons button:not([type="submit"]) {
  background-color: #fff;
  color: #333;
  border: 2px solid #333;
}
.form-buttons button:not([type="submit"]):hover {
  background-color: #f1f1f1;
  transform: scale(1.05);
}

/* Modal de Notificaciones */
.modalNotificacion {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999999; /* Más alto que todo */
}
.modalNotificacion .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.modalNotificacion .contenedorNotificacion {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  max-width: 400px;
  width: 80%;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
#mensajeNotificacionModal {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}
.modalNotificacion button {
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.modalNotificacion button:hover {
  background-color: #218838;
  transform: scale(1.05);
}
