/* ESTILOS DE ACCESIBILIDAD - Blue One */

.acc-floating-btn {
  position: fixed;
  bottom: 110px;
  right: 25px; /* Sobre Jensen */
  width: 60px;
  height: 60px;
  background-color: #334155; /* Slate 700 - Sólido profesional */
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9998;
  transition: all 0.3s ease;
}

.acc-floating-btn:hover {
  background-color: #1e293b;
  transform: scale(1.05);
}

/* Modal Compacto */
.acc-modal {
  position: fixed;
  bottom: 185px;
  right: 25px;
  width: 280px;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 10001;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.acc-modal.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.acc-modal-header {
  padding: 12px 15px;
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-modal-header button {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
}

.acc-options {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acc-opt-btn {
  background-color: #334155;
  border: none;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  transition: background 0.2s;
}

.acc-opt-btn:hover {
  background-color: #475569;
}

.acc-opt-btn.active {
  background-color: #00cfff;
  color: #0b0f19;
  font-weight: 600;
}

.acc-reset-btn {
  margin-top: 5px;
  background: none;
  border: 1px dashed #475569;
  color: #94a3b8;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}

.acc-reset-btn:hover {
  color: #f1f5f9;
  border-color: #94a3b8;
}

/* =====================================================
   MODOS DE ACCESIBILIDAD (Applies to body)
===================================================== */

/* 1. Aumentar Texto */
body.acc-text-large {
  font-size: 1.15rem;
}
body.acc-text-large p, 
body.acc-text-large li,
body.acc-text-large span {
  font-size: 1.2rem;
}

/* 2. Alto Contraste */
body.acc-high-contrast {
  background-color: #000 !important;
  color: #fff !important;
}
body.acc-high-contrast *:not(.acc-modal *) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.acc-high-contrast a {
  color: #ffff00 !important;
  text-decoration: underline !important;
}

/* 3. Resaltar Enlaces */
body.acc-links-highlight a:not(.acc-opt-btn) {
  background-color: rgba(255, 255, 0, 0.2) !important;
  outline: 2px solid #ffff00 !important;
  color: #fff !important;
  font-weight: bold !important;
}

/* Responsivo */
@media (max-width: 480px) {
  .acc-floating-btn {
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .acc-modal {
    width: 90%;
    right: 5%;
    bottom: 165px;
  }
}
