/* Textos legales de AcGroupBox (condiciones.php y privacidad.php): secciones y artículos prohibidos por origen */
:root { --tc-azul: #0A4B78; --tc-primario: #1572b6; --tc-texto: #1f2937; --tc-gris: #6b7280; --tc-borde: #e5e7eb; --tc-fondo: #f4f6f9; --tc-rojo: #d32f2f; }
.lgl-doc { background: #fff; border-radius: 14px; padding: 1.4rem 1.6rem; box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); }
.lgl-intro { font-size: 1rem; color: #374151; }
.lgl-sec { padding: 1.1rem 0; border-top: 1px solid var(--tc-borde); scroll-margin-top: 20px; }
.lgl-sec h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.12rem; font-weight: 700; color: var(--tc-texto); margin: 0 0 .6rem; }
.lgl-sec h2 i { width: 34px; height: 34px; border-radius: 10px; background: #eef4fa; color: var(--tc-azul); display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; flex: none; }
.lgl-sec p, .lgl-sec li { line-height: 1.6; color: #374151; }
.lgl-sec a { color: var(--tc-primario); font-weight: 600; }
.lgl-aviso { background: #fdecec; border-left: 4px solid var(--tc-rojo); border-radius: 8px; padding: .7rem .9rem; color: #7f1d1d !important; }
@media (max-width: 575px) { .lgl-doc { padding: 1.1rem 1rem; } }
.tc-tabs { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tc-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tc-tabs > label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .88rem; color: var(--tc-gris); background: var(--tc-fondo); border: 1px solid var(--tc-borde); border-radius: 999px; padding: .45rem .95rem; cursor: pointer; transition: background .15s, color .15s; user-select: none; }
.tc-tabs > label:hover { color: var(--tc-texto); }
.tc-tabs > input:focus-visible + label { outline: 3px solid rgba(37,99,235,.3); outline-offset: 2px; }
.tc-tab-panel { display: none; width: 100%; margin-top: .6rem; }
.tc-tabs > input:nth-of-type(1):checked ~ .tc-tab-panel:nth-of-type(1),
.tc-tabs > input:nth-of-type(2):checked ~ .tc-tab-panel:nth-of-type(2),
.tc-tabs > input:nth-of-type(3):checked ~ .tc-tab-panel:nth-of-type(3),
.tc-tabs > input:nth-of-type(4):checked ~ .tc-tab-panel:nth-of-type(4),
.tc-tabs > input:nth-of-type(5):checked ~ .tc-tab-panel:nth-of-type(5),
.tc-tabs > input:nth-of-type(6):checked ~ .tc-tab-panel:nth-of-type(6) { display: block; }
.tc-tabs > input:checked + label { background: var(--tc-azul); border-color: var(--tc-azul); color: #fff; }

.tc-orig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .8rem; }
.tc-orig { border: 1px solid var(--tc-borde); border-radius: 14px; padding: 1rem 1.05rem; background: #fff; }
.tc-orig-cab { display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--tc-borde); }
.tc-orig-cab .flag-icon { width: 1.4em; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.tc-orig-cab b { color: var(--tc-texto); }
.tc-orig-cab small { color: var(--tc-gris); margin-left: auto; font-weight: 600; }
.tc-x { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: .32rem; font-size: .88rem; }
.tc-x li { position: relative; padding-left: 1.35rem; margin: 0 !important; line-height: 1.45; color: #475569; }
.tc-x li::before { content: '\f00d'; font-family: FontAwesome; position: absolute; left: 0; top: .05em; color: #ef4444; font-size: .8rem; }
.tc-x li.fuerte { color: var(--tc-texto); font-weight: 700; }
.tc-libre { display: flex; gap: .55rem; color: #166534 !important; background: #f0fdf4; border-radius: 10px; padding: .65rem .75rem; font-size: .88rem; margin: 0 !important; }
.tc-libre i { color: #22c55e; margin-top: .2rem; }
.tc-orig-ok { display: flex; gap: .5rem; font-size: .84rem; color: #1e3a5f; background: #eff6ff; border-radius: 10px; padding: .6rem .7rem; margin: .7rem 0 0 !important; }
.tc-orig-ok i { color: var(--tc-primario); margin-top: .2rem; }
.tc-orig-ok + .tc-orig-ok { margin-top: .4rem !important; }
.tc-orig-extra { font-size: .84rem; background: var(--tc-fondo); border-radius: 10px; padding: .6rem .7rem; margin: .7rem 0 0 !important; }
.tc-orig-extra i { color: var(--tc-primario); margin-right: .25rem; }
.tc-nota { font-size: .85rem; color: var(--tc-gris) !important; margin: .8rem 0 0 !important; }
.tc-nota i { color: var(--tc-primario); margin-right: .3rem; }
