/* PrivilegeFans · Ajustes → Mensajes con el diseño de Antonio (4-nov-2026): cabecera de sección, tarjetas en dos columnas, columna derecha
 * (accesos rápidos y consejos) y barra de abajo «Cancelar · Guardar cambios». Recuadros como el aviso «… está disponible ahora». */
html:root:root body .pfc-set { display: grid; gap: 16px; }
html:root:root body .ms-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; overflow: hidden; }
.ms-hi { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; box-shadow: 0 0 18px rgba(240, 193, 44, .35); }
html:root:root body .ms-hi i { font-size: 22px !important; }
html:root:root body .ms-head h2 { margin: 0; font: 700 var(--pf-fs-h2, 22px)/1.15 var(--pf-f-title, SansitaSwashed, Georgia, serif) !important; color: #fff !important; }
.ms-head p { margin: 3px 0 0; font-size: 13.5px; color: #C9D8EC; }
.ms-hart { margin-left: auto; color: rgba(240, 193, 44, .85); filter: drop-shadow(0 0 14px rgba(240, 193, 44, .45)); }
html:root:root body .ms-hart i { font-size: 44px !important; }
.ms-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: start; }
.ms-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ms-cards .ms-card.wide { grid-column: 1 / -1; }
.ms-right { display: grid; gap: 14px; }
html:root:root body .ms-card { padding: 14px 16px; border-radius: 16px; min-width: 0; }
.ms-ch { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ms-ci { flex: none; color: #F0C12C; } html:root:root body .ms-ci i { font-size: 18px !important; }
html:root:root body .ms-ch h3 { margin: 0; font: 700 15.5px/1.2 var(--pf-f-text, Lato, Arial, sans-serif) !important; color: #fff !important; }
html:root:root body .ms-card .pfc-set-row { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); gap: 12px; }
html:root:root body .ms-card .pfc-set-row:last-child { border-bottom: 0; }
html:root:root body .ms-card .pfc-set-tx b { font-size: 13.5px; } html:root:root body .ms-card .pfc-set-tx small { font-size: 12px; line-height: 1.35; }
html:root:root body .ms-card .pfc-set-ic { width: 32px; height: 32px; border-radius: 9px; background: rgba(240, 193, 44, .1); color: #F0C12C; }
html:root:root body .ms-card .pfc-set-status { margin: 6px 0 0; }
html:root:root body .ms-card .pfc-set-ta { margin-top: 8px; }
.ms-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); background: none; color: #fff; text-align: left; cursor: pointer; }
.ms-link:last-child { border-bottom: 0; } .ms-link:hover b { color: #F0C12C; }
.ms-link .pfc-set-tx { flex: 1 1 auto; min-width: 0; display: grid; }
.ms-chev { color: #9FB7D4; } html:root:root body .ms-chev { font-size: 12px !important; }
.ms-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ms-tips li { display: flex; gap: 10px; font-size: 13px; line-height: 1.4; color: #E8F0FA; } .ms-tips i { color: #F0C12C; margin-top: 2px; }
html:root:root body .ms-bar { display: flex; justify-content: flex-end; gap: 12px; padding: 12px 16px; border-radius: 16px; position: sticky; bottom: 12px; z-index: 5; }
html:root:root body .ms-bar .pfx-btn { min-width: 150px; min-height: 42px; }
@media (max-width: 1280px) { .ms-grid { grid-template-columns: minmax(0, 1fr); } .ms-right { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ms-cards, .ms-right { grid-template-columns: minmax(0, 1fr); } .ms-hart { display: none; } html:root:root body .ms-bar { bottom: 74px; } html:root:root body .ms-bar .pfx-btn { flex: 1 1 0; min-width: 0; } }

/* ── Configuración completa con el diseño de Antonio: título dentro del menú, cabecera de cada sección, Cerrar sesión y Eliminar cuenta como botones ── */
html:root:root body .aju-page { padding-top: 18px; }
.aju-side-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.aju-side-ic { flex: none; color: #F0C12C; filter: drop-shadow(0 0 10px rgba(240, 193, 44, .4)); } html:root:root body .aju-side-ic i { font-size: 30px !important; }
html:root:root body .aju-side-head .aju-side-title { display: block !important; margin: 0; font: 700 19px/1.15 var(--pf-f-title, SansitaSwashed, Georgia, serif) !important; color: #fff !important; }
.aju-side-head p { margin: 3px 0 0; font-size: 11.5px; line-height: 1.35; color: #9FB7D4; }
html:root:root body .aju-nav-item.logout { justify-content: center; margin: 6px 0 4px; border: 1px solid rgba(240, 193, 44, .5) !important; border-radius: 12px; background: rgba(255, 255, 255, .04) !important; color: #fff !important; }
html:root:root body .aju-nav-item[data-route="ajustes/eliminar"], html:root:root body a.aju-nav-item[href$="ajustes/eliminar"] { justify-content: center; border: 1px solid rgba(255, 90, 95, .7) !important; border-radius: 12px; color: #FF8A8F !important; background: rgba(217, 58, 65, .08) !important; }
html:root:root body .aju-mhead { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 18px; border-radius: 18px;
  background: var(--rq-bg) !important; border: var(--rq-bd) !important; box-shadow: var(--rq-sh) !important; }
html:root:root body .aju-mhead .aju-title { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 var(--pf-fs-h2, 22px)/1.15 var(--pf-f-title, SansitaSwashed, Georgia, serif) !important; color: #fff !important; }
html:root:root body .aju-mhead .aju-title-ic { color: #F0C12C; } html:root:root body .aju-mhead .aju-title-ic i { font-size: 26px !important; }
html:root:root body .aju-mhead .aju-msub { margin: 4px 0 0; font-size: 13px; color: #C9D8EC; }
html:root:root body .pfc-set, html:root:root body #aju-body { max-width: none !important; }
/* Interruptores como en el diseño: dorados cuando están activos, gris cuando no (en toda la web) */
html:root:root body .pfx-switch input + span { background: rgba(255, 255, 255, .18) !important; border: 1px solid rgba(255, 255, 255, .25) !important; }
html:root:root body .pfx-switch input + span::after, html:root:root body .pfx-switch input + span::before { background: #fff !important; }
html:root:root body .pfx-switch input:checked + span { background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B) !important; border-color: transparent !important; box-shadow: 0 0 10px rgba(240, 193, 44, .4) !important; }
html:root:root body .pfx-switch input:disabled + span { opacity: .5; }

/* Mensajes completo (4-nov 21:57): sin huecos (las tarjetas se colocan en columnas, como un mosaico), pestañas, desplegables y listas */
html:root:root body .ms-cards { display: block; columns: 2; column-gap: 14px; }
html:root:root body .ms-cards > .ms-card { display: block; break-inside: avoid; margin: 0 0 14px !important; }
@media (max-width: 860px) { html:root:root body .ms-cards { columns: 1; } }
.ms-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
html:root:root body .ms-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(240, 193, 44, .45); background: rgba(255, 255, 255, .04); color: #fff; font: 700 13px/1 Lato, Arial, sans-serif; cursor: pointer; box-shadow: none; }
html:root:root body .ms-tab i { font-size: 13px !important; color: #F0C12C; }
html:root:root body .ms-tab.on { background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; border-color: transparent; } html:root:root body .ms-tab.on i { color: #0A1A33; }
html:root:root body .ms-sel { flex: none; width: auto; min-width: 150px; max-width: 190px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(240, 193, 44, .5) !important; background: rgba(6, 18, 38, .5) !important; color: #fff !important; font-size: 13px; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
html:root:root body .ms-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); color: #fff; font: 700 12px/1 Lato, Arial, sans-serif; cursor: pointer; box-shadow: none; }
html:root:root body .ms-chip i { font-size: 11px !important; color: #F0C12C; }
html:root:root body .ms-chip.on { background: linear-gradient(180deg, #FFD962, #F0C12C 60%, #D9A21B); color: #0A1A33; border-color: transparent; } html:root:root body .ms-chip.on i { color: #0A1A33; }
.ms-ok { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(21, 148, 71, .18); border: 1px solid rgba(21, 148, 71, .6); color: #6EE7A0; font: 800 12px/1 Lato, Arial, sans-serif; }
.ms-edit { margin: 2px 0 8px; } .ms-edit summary { cursor: pointer; color: #F0C12C; font: 700 12.5px/1.4 Lato, Arial, sans-serif; list-style: none; padding: 4px 0; } .ms-edit summary::-webkit-details-marker { display: none; }
.ms-edit textarea { width: 100%; margin-top: 6px; }
.ms-flash { animation: msFlash 1.4s ease; } @keyframes msFlash { 0%, 100% { filter: none; } 30% { filter: brightness(1.25) drop-shadow(0 0 16px rgba(240, 193, 44, .55)); } }
.ms-pl { margin: 0 0 12px; font-size: 13.5px; color: #C9D8EC; } .ms-addrow { display: flex; gap: 8px; margin-bottom: 12px; } .ms-addrow input { flex: 1 1 auto; }
.ms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.ms-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(240, 193, 44, .25); font-size: 13.5px; color: #fff; }
.ms-list li.ms-none { justify-content: center; color: #9FB7D4; border-style: dashed; }
