/* Modal de novedades de versión */
.novedades-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3600;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.novedades-modal[style*="display: flex"],
.novedades-modal[style*="display:flex"] {
    display: flex !important;
}

.novedades-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.novedades-modal-header {
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid #eef2f6;
    flex-shrink: 0;
}

.novedades-modal-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.novedades-modal-fecha {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.novedades-modal-body {
    padding: 1.25rem 1.75rem 1.75rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.novedades-vacio {
    color: #6b7280;
    margin: 1rem 0 2rem;
}

.novedades-seccion {
    margin-bottom: 1.5rem;
}

.novedades-seccion-titulo {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1b6ec2;
}

.novedades-lista {
    margin: 0;
    padding-left: 1.25rem;
    color: #1f2937;
    line-height: 1.55;
}

.novedades-lista li {
    margin-bottom: 0.75rem;
}

.novedades-lista li:last-child {
    margin-bottom: 0;
}

.novedades-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.novedades-pie-ayuda {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.novedades-btn-entendido {
    width: 100%;
    padding: 14px 24px;
    background-color: #1b6ec2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.novedades-btn-entendido:hover {
    background-color: #155fa8;
}

.novedades-btn-entendido:focus {
    outline: 2px solid #155fa8;
    outline-offset: 2px;
}
