:root {
    --verde: #a9f52b;
    --azul: #003fb7;
   
}

.header {
    position: absolute;
    right: 0px !important;
    transform: translateX(-50%);
    width: 35%!important;
    min-width: 160px;
    height: 60px;
    border: 1px solid #b0a6a6;
    border-radius: 0 0 0 20px;
    z-index: 99999;
    background: #fff;
}

.navegador {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listado {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 10px;
    list-style: none;
    text-align: center;
}

.listado li {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.listado a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 5px 3px;
    border-radius: 7px;
    text-decoration: none;
    color: var(--azul);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color 180ms ease, color 180ms ease;
}

.listado a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 30px;
    height: 15px;
    background: #ffec00;
    --auto-icono: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 30'%3E%3Cpath fill-rule='evenodd' d='M5 14h7l8-10h22l10 10 8 3v8h-7a8 8 0 0 0-16 0H27a8 8 0 0 0-16 0H4V17zm14-1h11V7h-7zm15 0h12l-6-6h-6z'/%3E%3Ccircle cx='19' cy='24' r='5'/%3E%3Ccircle cx='45' cy='24' r='5'/%3E%3C/svg%3E");
    -webkit-mask: var(--auto-icono) center / contain no-repeat;
    mask: var(--auto-icono) center / contain no-repeat;
    pointer-events: none;
    opacity: 0;
    transform: translateX(calc(-50% - 12px));
    transition: transform 220ms ease, opacity 180ms ease;
}

@media (hover: hover) {
    .listado a:hover { background: var(--azul); color: #fff; }
    .listado a:hover::after { opacity: 1; transform: translateX(-50%); }
}

.listado a:focus-visible {
    outline: 2px solid #ffcf00;
    outline-offset: 2px;
    background: var(--azul);
    color: #fff;
}

.listado a:focus-visible::after { opacity: 1; transform: translateX(-50%); }
.listado a:active { background: #002e89; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .listado a, .listado a::after { transition: none; }
}
