
/* =========================
   PANEL ACCESIBILIDAD SIMPLE
   ========================= */

.accessibility-panel {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accessibility-panel button {
    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: #002c4c;
    color: #fff;

    cursor: pointer;
    font-size: 16px;

    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    transition: all .2s ease;
}

.accessibility-panel button:hover {
    transform: scale(1.08);
}

.accessibility-panel button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 768px) {

.accessibility-panel { 
position: static; 
margin-left: 340px; 
margin-top:-1100px;}

    .accessibility-panel button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* =========================
   ZOOM (FUENTE)
   ========================= */

body.font-small { zoom: 0.9; }
body.font-normal { zoom: 1; }
body.font-large { zoom: 1.15; }
body.font-xlarge { zoom: 1.3; }

/* =========================
   CONTRASTE
   ========================= */

body.high-contrast {
  background: #000 !important;
  color: #fff !important;
}

body.high-contrast * {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.high-contrast a {
  color: #00ffff !important;
}

/* =========================
   DALTONISMO
   ========================= */


body.color-protanopia {
  filter: grayscale(0.4) contrast(1.2) !important;
}

body.color-deuteranopia {
  filter: grayscale(0.6) sepia(0.2) contrast(1.1) !important;
}

body.color-tritanopia {
  filter: grayscale(0.6) hue-rotate(180deg) !important;
}
