/* Consentimiento de cookies de fundacionmusaat.musaat.es (ver consentimiento.js) */

.fmcc-capa {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2147483647;
    background: rgba(0, 0, 0, .5);
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    -webkit-text-size-adjust: 100%;
}
.fmcc-capa *, .fmcc-capa *::before, .fmcc-capa *::after { box-sizing: border-box; font-family: inherit; letter-spacing: normal; text-transform: none; }
.fmcc-capa p, .fmcc-capa h2, .fmcc-capa ul, .fmcc-capa li { margin: 0; padding: 0; list-style: none; }
.fmcc-capa button { font-family: inherit; cursor: pointer; }
.fmcc-capa a { color: inherit; text-decoration: underline; }

/* La librería genera su propia ventana aunque no se use (autoShow: false): ocultarla */
#cc-main { display: none !important; }

/* Banner */
.fmcc-banner-caja {
    background: #124A47;
    color: #fff;
    padding: 48px;
}
.fmcc-capa .fmcc-banner-texto { margin: 16px 0 20px; }
.fmcc-boton {
    display: inline-block;
    margin: 0 4px 4px 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 2px;
    background: #eaeaea;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    opacity: .9;
    transition: opacity .3s ease;
}
.fmcc-boton:hover, .fmcc-boton:focus { opacity: 1; }

/* Centro de preferencias */
.fmcc-dialogo {
    display: flex;
    flex-direction: column;
    width: 750px;
    max-width: calc(100% - 40px);
    margin: 30px auto;
    background: #212121;
    color: #fff;
}
.fmcc-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 81px;
    padding: 10px 15px;
    border-bottom: 1px solid #111;
}
.fmcc-titulo { font-size: 20px; font-weight: 700; line-height: 1.2; }
.fmcc-cerrar {
    margin-left: 15px;
    padding: 8px 16px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #e6e6e6;
    font-size: 24px;
    line-height: 24px;
    opacity: .9;
}
.fmcc-cerrar:hover, .fmcc-cerrar:focus { opacity: 1; }

.fmcc-cuerpo { display: flex; height: 335px; background: #292929; }
.fmcc-pestanas {
    flex: 0 0 150px;
    background: #e6e6e6;
    overflow-y: auto;
}
.fmcc-pestana {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.fmcc-pestana-boton {
    display: block;
    width: 100%;
    padding: 10px 5px 10px 10px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    line-height: 19px;
    text-align: left;
}
.fmcc-pestana.fmcc-activa { background: #292929; border-right-color: #292929; }
.fmcc-pestana.fmcc-activa .fmcc-pestana-boton { color: #f5f5f5; }

.fmcc-contenido {
    flex: 1 1 auto;
    padding: 25px;
    overflow-y: auto;
    background: #292929;
    color: #fff;
}
.fmcc-capa .fmcc-panel-titulo { margin: 0 0 16px; font-size: 24px; font-weight: 600; line-height: 1.5; color: #fff; }
.fmcc-capa .fmcc-panel-texto { margin: 0 0 16px; font-size: 16px; line-height: 1.5; }

/* Interruptor */
.fmcc-interruptor {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 400;
}
.fmcc-interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fmcc-interruptor-pista {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 24px;
    margin-right: 10px;
    border-radius: 12px;
    background: #e6e6e6;
    transition: background .2s ease;
}
.fmcc-interruptor-pista::after {
    content: "";
    position: absolute;
    top: 2px; left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
}
.fmcc-interruptor input:checked + .fmcc-interruptor-pista { background: #4cd964; }
.fmcc-interruptor input:checked + .fmcc-interruptor-pista::after { transform: translateX(16px); }
.fmcc-interruptor input:focus-visible + .fmcc-interruptor-pista { outline: 2px solid #ff0; outline-offset: 2px; }
.fmcc-interruptor input:disabled + .fmcc-interruptor-pista { opacity: .8; }
.fmcc-interruptor:has(input:disabled) { cursor: default; }

.fmcc-pie {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 10px;
    border-top: 1px solid #111;
    background: #212121;
}
.fmcc-guardar {
    padding: 8px 16px;
    border: 0;
    border-radius: 2px;
    background: #ff0;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    opacity: .9;
    transition: opacity .3s ease;
}
.fmcc-guardar:hover, .fmcc-guardar:focus { opacity: 1; }

.fmcc-capa button:focus, .fmcc-dialogo:focus { outline: none; }
.fmcc-capa button:focus-visible { outline: 2px solid #ff0; outline-offset: 2px; }

/* Móvil */
@media (max-width: 600px) {
    .fmcc-boton { display: block; width: 100%; margin: 0 0 4px; opacity: 1; }
    .fmcc-dialogo { max-width: calc(100% - 40px); }
    .fmcc-cuerpo { flex-direction: column; height: auto; }
    .fmcc-pestanas { flex: 0 0 auto; }
    .fmcc-pestana, .fmcc-pestana.fmcc-activa { border-right: 0; }
    .fmcc-contenido { overflow-y: visible; }
}
