body {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.content {
  width: 70%;
  padding-right: 20px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.sidebar {
  width: 28%;
  padding-left: 20px;
  background-color: #f4f4f4;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1,
h2,
h3 {
  color: #2c3e50;
}

ul {
  list-style-type: square;
}

.highlight {
  font-weight: bold;
  color: #e74c3c;
}

iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: none;
  cursor: pointer;
}

.sidebar h3 {
  color: #34495e;
}

/* Unificar color de los botones */
.toggle-button,
.scroll-button,
.scholarship-button,
.certifications-button,
.sales-button,
.objections-button {
  background-color: #3498db; /* Color común */
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  transition: background-color 0.3s ease; /* Transición suave para el hover */
}

/* Efecto hover - Azul más fuerte */
.toggle-button:hover,
.scroll-button:hover,
.scholarship-button:hover,
.certifications-button:hover,
.sales-button:hover,
.objections-button:hover {
  background-color: #2980b9; /* Azul más fuerte */
}

.certifications-image {
  width: 100%;
  border-radius: 5px;
}

body.modal-open {
  overflow: hidden;
}

/* Estilos del modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  text-align: left;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  position: fixed;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  background: white;
  padding: 5px 10px;
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  z-index: 1100;
}

/* WhatsApp: botón principal */
.whatsapp-sidebar-button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
}

/* Efecto hover - Verde más fuerte */
.whatsapp-sidebar-button:hover {
  background-color: #128c7e;
}

/* Contenedor general del modal */
.whatsapp-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0;
}

/* Estilo para los inputs */
.whatsapp-modal input {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Estilo para botones generales dentro del modal */
.whatsapp-modal button {
  padding: 10px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* Efecto hover en botones dentro del modal */
.whatsapp-modal button:hover {
  background-color: #128c7e;
}

/* ====== NUEVO: Botones numerados de selección ====== */
#messageSelector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

#messageSelector button {
  background-color: #e0e0e0; /* Gris clarito para botones de selección */
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Hover para los botones numerados */
#messageSelector button:hover {
  background-color: #cccccc;
}

/* Botón numerado activo (opcional si quieres que el botón seleccionado resalte) */
#messageSelector button.active {
  background-color: #25d366;
  color: white;
  border-color: #128c7e;
}
