/* Estilos de la sección de botones */
.policy-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policy-button {
  font-size: 16px;
  font-weight: normal; /* o bold si quieres resaltar */
  color: #4c6793; /* color del texto */
  text-decoration: none; /* quita el subrayado */
  display: inline-flex; /* para alinear ícono y texto */
  align-items: center;
  gap: 5px; /* espacio entre ícono y texto */
  cursor: pointer;
  transition: color 0.2s ease;
}



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

.modal-container.active {
  display: flex;
}

/* Estilos del modal principal */
.modal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 65%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

@media (min-width: 1200px) {
  .modal {
    max-width: 900px;
  }
}

/* Contenedor para el scroll */
.modal-scroll-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  background-color: #f0f4f9;
}

.modal-title {
  color: #4c6793;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #b25895;
  padding-bottom: 10px;
}

.modal-subtitle {
  font-size: 1.2em;
  font-weight: bold;
  color: #555;
  margin-top: 20px;
  margin-bottom: 10px;
}

.modal-paragraph {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal-list {
  margin-bottom: 15px;
  padding-left: 20px;
  color: #555;
}

.modal-list li {
  margin-bottom: 5px;
}

.modal-list-title {
  font-weight: bold;
  color: #4c6793;
}

.modal-close-btn-top {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2em;
  color: #555;
  cursor: pointer;
  z-index: 10;
}

.modal-close-btn-top:hover {
  color: #000;
}

.modal-footer {
  padding: 15px 20px;
  background-color: #fff;
  border-top: 1px solid #ddd;
  text-align: right;
}

.modal-close-btn-bottom {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #d9534f;
  color: white;
  transition: transform 0.2s ease;
}

.modal-close-btn-bottom:hover {
  transform: scale(1.02);
  background-color: #c9302c;
}
