/* =====================================================================================
   ModalNovedadesCxcTributos.css — 2026-10-14 · aviso de novedades (retenciones y detracciones)
   Archivo NUEVO, clases con prefijo .cxtn-  · capa D-51: var(--z-modal)
   ===================================================================================== */
.cxtn-scrim {
    position: fixed;
    inset: 0;
    background: rgba(9,20,52,.62);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: var(--z-modal);
    outline: none;
    animation: cxtn-fade .2s ease-out;
}

.cxtn-modal {
    width: 100%;
    max-width: 880px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #ffffff;
    color: #0f172a;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(15,52,148,.45);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: cxtn-pop .45s cubic-bezier(.2,.8,.2,1);
}

@keyframes cxtn-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cxtn-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cxtn-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes cxtn-llenar { from { transform: scaleX(.12); } to { transform: scaleX(1); } }

.cxtn-art {
    position: relative;
    padding: 22px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    background: radial-gradient(120% 90% at 20% 10%, #2d6ae0 0%, #1a4fba 45%, #0f3494 100%);
}

    .cxtn-art svg { width: 100%; height: auto; max-width: 380px; align-self: center; }

.cxtn-eb { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.cxtn-cap { font-size: 12px; opacity: .85; }

.cxtn-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,.16);
    color: #fff;
    cursor: pointer;
}

.cxtn-flota { animation: cxtn-flotar 4s ease-in-out infinite; transform-box: fill-box; }
.cxtn-flota.d2 { animation-delay: -1.3s; }
.cxtn-flota.d3 { animation-delay: -2.4s; }
.cxtn-barra { transform-origin: 56px 0; transform-box: view-box; animation: cxtn-llenar 1.6s ease-out both; }

.cxtn-body { padding: 24px 24px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cxtn-h1 { font-size: 22px; line-height: 1.2; font-weight: 700; text-wrap: balance; }
.cxtn-lead { margin: 0; color: #5b6b80; font-size: 13.5px; line-height: 1.55; }

.cxtn-feats { display: grid; gap: 10px; }
.cxtn-f { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
    .cxtn-f .ic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: #fff; }
    .cxtn-f b { display: block; font-size: 13px; }
    .cxtn-f span { font-size: 12.5px; color: #5b6b80; }

.cxtn-foot {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .cxtn-foot label { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #5b6b80; cursor: pointer; }
    .cxtn-foot .bs { display: flex; gap: 8px; flex-wrap: wrap; }

.cxtn-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    height: 31px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    color: #fff;
    background: #1a4fba;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    cursor: pointer;
}

.cxtn-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    height: 31px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d7deea;
    border-radius: 6px;
    color: #0f172a;
    background: #ffffff;
    cursor: pointer;
}

    .cxtn-btn:hover, .cxtn-btn-ghost:hover { filter: brightness(1.06); }

@media (max-width: 760px) {
    .cxtn-modal { grid-template-columns: 1fr; }
    .cxtn-art { min-height: 0; }
    .cxtn-art svg { max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    .cxtn-scrim, .cxtn-modal, .cxtn-flota, .cxtn-barra { animation: none; }
}
