/* Archivo de Estilos Custom para Etiquetas Modulares en la UI Swagger */
.em-badge,
a[href*="#modulo-"] {
    color: white !important;
    padding: 3px 8px;
    margin-right: 6px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block !important;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
    pointer-events: none !important;
    margin-bottom: 5px;
}

.em-ventas,
a[href*="#modulo-ventas"] {
    background-color: #007bff !important;
}

/* Blue */
.em-ventas-one,
a[href*="#modulo-ventas-one"] {
    background-color: #1a5c9f !important;
}

/* Dark Blue */
.em-inventario,
a[href*="#modulo-inventario"] {
    background-color: #fd7e14 !important;
}

/* Orange */
.em-inventario-one,
a[href*="#modulo-inventario-one"] {
    background-color: #b5560b !important;
}

/* Dark Orange */
.em-compras,
a[href*="#modulo-compras"] {
    background-color: #6f42c1 !important;
}

/* Purple */
.em-base,
a[href*="#modulo-base"] {
    background-color: #6c757d !important;
}

/* Gray */
.em-one,
a[href*="#modulo-one"] {
    background-color: #dc3545 !important;
}

/* Red */
.em-contabilidad,
a[href*="#modulo-contabilidad"] {
    background-color: #20c997 !important;
}

/* Teal */
.em-gestion-comercial,
a[href*="#modulo-gestion-comercial"] {
    background-color: #17a2b8 !important;
}

/* Cyan */
.em-clientes,
a[href*="#modulo-clientes"] {
    background-color: #e83e8c !important;
}

/* Pink */
.em-proveedores,
a[href*="#modulo-proveedores"] {
    background-color: #6610f2 !important;
}

/* Indigo */
.em-sii,
a[href*="#modulo-sii"] {
    background-color: #0d6efd !important;
}

/* Blue (Alternative) */
.em-maestros,
a[href*="#modulo-maestros"] {
    background-color: #a0522d !important;
}

/* Sienna */
.em-seguridad,
a[href*="#modulo-seguridad"] {
    background-color: #343a40 !important;
}

/* Dark Slate */
.em-configuracion,
a[href*="#modulo-configuracion"] {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* Yellow */
.em-impresion,
a[href*="#modulo-impresion"] {
    background-color: #28a745 !important;
}

/* Green Alt */

/* Asegurar reseteos menores para que se vean bien dentro de remarks */
.opblock-description span.em-badge,
.opblock-description a[href*="#modulo-"] {
    margin-bottom: 5px;
}