/* MENUBE: fuente unica de estilos propios.
 * Componentes: .card, .form-control, .btn, .modal-*, .table-responsive, .jqx-grid, .totales-box.
 * Perfil recomendado para nuevos modulos: ui-standard (predeterminado del layout main).
 * ui-form / ui-form-select: variantes compactas reutilizables.
 * Los perfiles ui-* de compatibilidad conservan las pantallas existentes.
 * :where() limita el alcance sin aumentar la especificidad original.
 * Editar este archivo directamente; no crear hojas por modulo.
 */

/*  COMPONENTES Y VARIANTES */
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-mesa, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report, .ui-seccion, .ui-user) .card {
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px;
    margin-top: 0.5rem;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-mesa, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report, .ui-seccion, .ui-user) .card-header {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: rgb(44, 62, 80);
    background: rgb(248, 249, 252) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-mesa, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report, .ui-seccion, .ui-user) .card-header b {
    font-weight: 600;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-mesa, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report, .ui-seccion, .ui-user) .card-body {
    padding: 1.25rem;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-mesa, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-seccion, .ui-user) .card-footer {
    padding: 0.7rem 1.1rem;
    background: rgb(248, 249, 252) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report) .col-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(90, 104, 114);
    margin-bottom: 0.2rem;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura) .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-form-select, .ui-ncf, .ui-propiedad-propiedad-producto, .ui-cash-close, .ui-punto-venta-devolucion-factura) .form-control:focus {
    border-color: rgb(34, 192, 232);
    box-shadow: rgba(34, 192, 232, 0.12) 0px 0px 0px 3px;
}

:where(.ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-cash-close, .ui-punto-venta-devolucion-factura, .ui-cash-report) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-form, .ui-gastosmenores-asignaciones, .ui-gastosmenores-productos-gastos, .ui-gastosmenores-reenviar-ecf, .ui-cash-close, .ui-punto-venta-devolucion-factura) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-form, .ui-gastosmenores-reenviar-ecf, .ui-logoutsession-logoutsession, .ui-cash-close, .ui-cash-report) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

:root:where(.ui-standard, .ui-compra, .ui-gastosmenores, .ui-reimprimir-factura) {
    --gm-navy: #1a2035;
    --gm-navy-soft: #262d47;
    --gm-teal: #22c0e8;
    --gm-teal-soft: rgba(34,192,232,.12);
    --gm-amber: #f5a623;
    --gm-amber-soft: rgba(245,166,35,.14);
    --gm-green: #2fb380;
    --gm-green-soft: rgba(47,179,128,.12);
    --gm-red: #e2536b;
    --gm-red-soft: rgba(226,83,107,.12);
    --gm-bg: #f4f6fb;
    --gm-card: #ffffff;
    --gm-panel: #f8f9fc;
    --gm-border: rgba(20,25,45,.08);
    --gm-text: #1a2035;
    --gm-text-muted: #5a6872;
    --gm-radius-lg: 16px;
    --gm-radius-md: 12px;
    --gm-radius-sm: 10px;
    --gm-shadow: 0 2px 12px rgba(20,25,45,.06);
    --gm-shadow-hover: 0 6px 20px rgba(20,25,45,.10);
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .input-group-text {
    font-size: 0.82rem;
    color: rgb(90, 104, 114);
    padding: 0.45rem 0.75rem;
    background: rgb(241, 244, 249) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .input-group .form-control {
    border-radius: 10px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .input-group > .input-group-prepend .input-group-text {
    border-right-width: medium !important;
    border-right-style: none !important;
    border-right-color: currentcolor !important;
    border-radius: 10px 0px 0px 10px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .input-group > .form-control:not(:last-child) {
    border-radius: 0px 10px 10px 0px !important;
}

:where(.ui-empresa-otras-cuentas-por-cobrar, .ui-form-select, .ui-propiedad-propiedad-producto) select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9aa8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 2rem;
}

:where(.ui-mesa, .ui-seccion, .ui-user) .col-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(90, 104, 114);
    margin-bottom: 0.2rem;
    padding-bottom: 0px;
}

:where(.ui-mesa, .ui-seccion, .ui-user) .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-mesa, .ui-seccion, .ui-user) .form-control:focus {
    border-color: rgb(34, 192, 232);
    box-shadow: rgba(34, 192, 232, 0.12) 0px 0px 0px 3px;
}

:where(.ui-mesa, .ui-seccion, .ui-user) select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9aa8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 2rem;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-mesa, .ui-form-select, .ui-seccion) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-form-select, .ui-seccion) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-form-select, .ui-seccion) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-form-select, .ui-seccion) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-standard, .ui-compra) #frmCompras,
:where(.ui-standard, .ui-compra) #frmCompras * {
    box-sizing: border-box;
}

:where(.ui-standard, .ui-compra) .card {
    background: var(--gm-card);
    border-radius: var(--gm-radius-lg);
    box-shadow: var(--gm-shadow);
    margin-top: 0.5rem;
    transition: box-shadow 0.2s;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-standard, .ui-compra) .card-header {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: var(--gm-text);
    background: var(--gm-panel) !important;
    border-bottom: 1px solid var(--gm-border) !important;
    border-radius: var(--gm-radius-lg) var(--gm-radius-lg) 0 0 !important;
}

:where(.ui-standard, .ui-compra) .card-header b {
    font-weight: 600;
}

:where(.ui-standard, .ui-compra) .card-body {
    padding: 1.25rem;
}

:where(.ui-standard, .ui-compra) .card-footer {
    padding: 0.75rem 1.1rem;
    background: var(--gm-panel) !important;
    border-top: 1px solid var(--gm-border) !important;
    border-radius: 0 0 var(--gm-radius-lg) var(--gm-radius-lg) !important;
}

:where(.ui-standard, .ui-compra) .gm-section {
    position: relative;
    overflow: hidden;
}

:where(.ui-standard, .ui-compra) .gm-section::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 4px;
}

:where(.ui-standard, .ui-compra) .gm-section--doc::before {
    background: var(--gm-teal);
}

:where(.ui-standard, .ui-compra) .gm-section--line::before {
    background: var(--gm-amber);
}

:where(.ui-standard, .ui-compra) .gm-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gm-text-muted);
    margin-bottom: 0.85rem;
}

:where(.ui-standard, .ui-compra) .gm-section-title i {
    color: inherit;
    opacity: 0.7;
}

:where(.ui-standard, .ui-compra) .col-form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gm-text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

:where(.ui-standard, .ui-compra) .form-control {
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-sm);
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    height: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: rgb(255, 255, 255);
}

:where(.ui-standard, .ui-compra) .form-control:focus {
    border-color: var(--gm-teal);
    box-shadow: 0 0 0 3px var(--gm-teal-soft);
}

:where(.ui-standard, .ui-compra) .form-control::placeholder {
    color: rgb(167, 176, 189);
}

:where(.ui-standard, .ui-compra) .form-control[readonly] {
    background: var(--gm-panel);
    color: var(--gm-text-muted);
}

:where(.ui-standard, .ui-compra) .input-group .form-control {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

:where(.ui-standard, .ui-compra) .input-group-append .btn {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

:where(.ui-standard, .ui-compra) .input-group-prepend .input-group-text {
    border: 1px solid var(--gm-border);
    background: var(--gm-panel);
    border-radius: var(--gm-radius-sm) 0 0 var(--gm-radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gm-text-muted);
}

:where(.ui-standard, .ui-compra) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.45rem 0.9rem !important;
    transition: 0.15s !important;
    box-shadow: none !important;
}

:where(.ui-standard, .ui-compra) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: rgba(20, 25, 45, 0.15) 0px 4px 10px;
}

:where(.ui-standard, .ui-compra) .btn:active {
    transform: translateY(0px);
    filter: brightness(0.98);
}

:where(.ui-standard, .ui-compra) .btn:focus-visible {
    outline: 2px solid var(--gm-teal);
    outline-offset: 2px;
}

:where(.ui-standard, .ui-compra) .btn-primary {
    background: var(--gm-navy) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-standard, .ui-compra) .btn-secondary {
    background: rgb(238, 241, 247) !important;
    color: var(--gm-text-muted) !important;
}

:where(.ui-standard, .ui-compra) .btn-info {
    background: var(--gm-teal-soft) !important;
    color: rgb(14, 136, 168) !important;
}

:where(.ui-standard, .ui-compra) .btn-info:hover {
    background: var(--gm-teal) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-standard, .ui-compra) .btn-danger {
    background: var(--gm-red-soft) !important;
    color: var(--gm-red) !important;
}

:where(.ui-standard, .ui-compra) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.38rem 0.75rem !important;
    border-radius: 12px !important;
}

:where(.ui-standard, .ui-compra) .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

:where(.ui-standard, .ui-compra) .totales-box {
    background: var(--gm-panel);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-md);
    padding: 1rem 1.15rem;
}

:where(.ui-cotizacion-recibo-cotizacion, .ui-access-message),
:where(.ui-cotizacion-recibo-cotizacion, .ui-access-message) * {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

:where(.ui-empresa, .ui-suplidores) .card {
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) textarea.form-control {
    min-height: 70px;
    resize: vertical;
}

:where(.ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn-outline-primary {
    background: transparent !important;
    border: 1px solid rgb(26, 32, 53) !important;
    color: rgb(26, 32, 53) !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn-outline-primary:hover {
    transform: none;
    filter: none;
    background: rgb(26, 32, 53) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form-select, .ui-seccion) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

@media (max-width: 767.98px) {
:where(.ui-form, .ui-form-select, .ui-cash-report, .ui-seccion) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-form, .ui-form-select, .ui-cash-report, .ui-seccion) .col-form-label {
    font-size: 0.74rem;
}
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .btn-info {
    background: rgb(34, 192, 232) !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-content {
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    border-radius: 14px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-header {
    background: rgb(248, 249, 252);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.75rem 1rem;
    border-radius: 14px 14px 0px 0px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(44, 62, 80);
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-body {
    padding: 1rem;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-footer {
    background: rgb(248, 249, 252);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.7rem 1rem;
    border-radius: 0px 0px 14px 14px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-footer .btn {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.75rem !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .modal-dialog.modal-md {
    max-width: 500px;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) label {
    margin-bottom: 2px !important;
}

:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .form-group {
    margin-bottom: 2px !important;
}

@media (max-width: 767.98px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-form-select, .ui-seccion) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-form-select, .ui-cash-report, .ui-seccion) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-form-select, .ui-cash-report, .ui-seccion) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-form, .ui-logoutsession-logoutsession, .ui-form-select, .ui-cash-report, .ui-seccion) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-form, .ui-logoutsession-logoutsession, .ui-form-select, .ui-cash-report, .ui-seccion) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .input-group-text {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-form-select, .ui-seccion) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-logoutsession-logoutsession, .ui-form-select, .ui-cash-report, .ui-seccion) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-form-select, .ui-cash-report, .ui-seccion) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-form-select, .ui-seccion) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-logoutsession-logoutsession, .ui-form-select, .ui-cash-report, .ui-seccion) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar, .ui-form, .ui-logoutsession-logoutsession, .ui-form-select, .ui-cash-report, .ui-seccion) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-empresa-cuenta-por-cobrar, .ui-empresa-notas-credito, .ui-empresa-otras-cuentas-por-cobrar) .input-group-text {
    font-size: 0.74rem;
    padding: 0.35rem 0.55rem;
}
}

html:where(.ui-error-404, .ui-login),
:where(.ui-error-404, .ui-login) body {
    height: 100%;
    margin: 0px;
}

:where(.ui-standard) .totales-box .total-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gm-text-muted);
    white-space: nowrap;
}

:where(.ui-standard) .totales-box .total-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gm-navy);
    margin-top: 0.1rem;
}

:where(.ui-standard) .totales-box .total-row-final {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--gm-border);
}

:where(.ui-standard) .totales-box .total-row-final .total-value {
    font-size: 1.5rem;
    color: var(--gm-teal);
}

:where(.ui-standard) #tabla_compras {
    border-radius: var(--gm-radius-md);
    overflow: hidden;
    border: 1px solid var(--gm-border);
}

:where(.ui-standard) .table-responsive {
    border-radius: var(--gm-radius-md);
    border: 1px solid var(--gm-border);
    overflow: hidden;
}

:where(.ui-standard) #tabla_imprimir {
    min-width: 800px;
}

:where(.ui-standard) .table-responsive table thead th {
    background: var(--gm-panel);
    color: var(--gm-text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid var(--gm-border);
    white-space: nowrap;
    position: sticky;
    top: 0px;
    z-index: 1;
}

:where(.ui-standard) .table-responsive table tbody td {
    white-space: nowrap;
}

:where(.ui-standard) #tabla_compras .jqx-grid-content,
:where(.ui-standard) #productos_lista .jqx-grid-content,
:where(.ui-standard) #suplidores_grid .jqx-grid-content {
    max-height: none !important;
}

:where(.ui-standard) .jqx-grid {
    border-radius: var(--gm-radius-md);
    overflow: hidden;
}

:where(.ui-standard) .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-standard) .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-standard) .modal-dialog {
    max-width: 1200px !important;
}
}

:where(.ui-standard) .modal-content {
    border-radius: var(--gm-radius-lg);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    overflow: hidden;
}

:where(.ui-standard) .modal-header {
    background: var(--gm-navy);
    color: rgb(255, 255, 255);
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    padding: 1rem 1.25rem;
}

:where(.ui-standard) .modal-header .modal-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

:where(.ui-standard) .modal-header .close {
    color: rgb(255, 255, 255);
    opacity: 0.8;
    text-shadow: none;
}

:where(.ui-standard) .modal-header .close:hover {
    opacity: 1;
}

:where(.ui-standard) .modal-body {
    padding: 1.25rem;
    background: var(--gm-card);
}

:where(.ui-standard) .modal-footer {
    background: var(--gm-panel);
    border-top: 1px solid var(--gm-border);
    padding: 0.75rem 1.25rem;
}

:where(.ui-standard) #imprimircompras_modal .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-standard) #imprimircompras_modal .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-standard) #imprimircompras_modal .modal-dialog {
    max-width: 1200px !important;
}
}

:where(.ui-standard) #imprimircompras_modal .modal-content {
    max-height: calc(-1.2rem + 100vh);
    display: flex;
    flex-direction: column;
}

:where(.ui-standard) #imprimircompras_modal .modal-header,
:where(.ui-standard) #imprimircompras_modal .modal-footer {
    flex-shrink: 0;
}

:where(.ui-standard) #imprimircompras_modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
    min-height: 0px;
}

:where(.ui-standard) #imprimircompras_modal .table-responsive {
    flex: 1 1 auto;
    min-height: 0px;
    max-height: 60vh;
    overflow: auto !important;
}

:where(.ui-standard) #imprimircompras_modal .table th {
    text-align: left;
}

:where(.ui-standard) #imprimircompras_modal #tabla_imprimir td {
    color: var(--gm-text);
}

:where(.ui-standard) #imprimircompras_modal #tabla_imprimir tbody tr {
    transition: background 0.15s;
}

:where(.ui-standard) #imprimircompras_modal #tabla_imprimir tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-standard) #imprimircompras_modal #tabla_imprimir tbody tr:nth-child(2n) {
    background: var(--gm-panel);
}

:where(.ui-standard) #imprimircompras_modal #tabla_imprimir tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-standard) #imprimircompras_modal .fila-busqueda {
    background: var(--gm-panel);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-md);
    padding: 0.9rem 1rem;
    margin-bottom: 0px;
}

:where(.ui-standard) #imprimircompras_modal .fila-busqueda .col-form-label {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

:where(.ui-standard) #imprimircompras_modal #tabla_imprimir tbody tr.filaImprimir.table-active {
    background: var(--gm-teal-soft);
    box-shadow: inset 3px 0 0 var(--gm-teal);
}

:where(.ui-standard, .ui-reimprimir-factura) body {
    background: var(--gm-bg);
}

@media (max-width: 767.98px) {
:where(.ui-standard) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .col-form-label {
    font-size: 0.8rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .form-control {
    font-size: 0.88rem;
    padding: 0.55rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .card-header b {
    font-size: 0.9rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: stretch !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .card-footer .btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .totales-box .total-row-final .total-value {
    font-size: 1.3rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .table-responsive {
    overflow-x: auto;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .modal-dialog {
    margin: 0.6rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-standard) .modal-body {
    padding: 0.9rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-standard) .card-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-standard) .modal-footer {
    flex-wrap: wrap;
    gap: 0.4rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-standard) .modal-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-standard) .modal-body {
    padding: 0.75rem;
}
}

:where(.ui-standard) .gm-preload-overlay {
    position: fixed;
    inset: 0px;
    z-index: 99999;
    background: rgba(20, 25, 45, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.ui-standard) .gm-preload-box {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: rgba(20, 25, 45, 0.25) 0px 12px 40px;
    padding: 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    max-width: 320px;
}

:where(.ui-standard) .gm-preload-spinner img {
    width: 64px;
    height: 64px;
    display: block;
}

:where(.ui-standard) .gm-preload-msg {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gm-text);
}

:where(.ui-compra) .totales-box .retencion-indicador {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--gm-navy);
}

:where(.ui-compra) .totales-box .total-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gm-text-muted);
    white-space: nowrap;
}

:where(.ui-compra) .totales-box .total-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gm-navy);
    margin-top: 0.1rem;
}

:where(.ui-compra) .totales-box .total-row-final {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--gm-border);
}

:where(.ui-compra) .totales-box .total-row-final .total-value {
    font-size: 1.5rem;
    color: var(--gm-teal);
}

:where(.ui-compra) #tabla_compras {
    border-radius: var(--gm-radius-md);
    overflow: hidden;
    border: 1px solid var(--gm-border);
}

:where(.ui-compra) .table-responsive {
    border-radius: var(--gm-radius-md);
    border: 1px solid var(--gm-border);
    overflow: hidden;
}

:where(.ui-compra) #tabla_imprimir {
    min-width: 800px;
}

:where(.ui-compra) .table-responsive table thead th {
    background: var(--gm-panel);
    color: var(--gm-text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid var(--gm-border);
    white-space: nowrap;
    position: sticky;
    top: 0px;
    z-index: 1;
}

:where(.ui-compra) .table-responsive table tbody td {
    white-space: nowrap;
}

:where(.ui-compra) #tabla_compras .jqx-grid-content,
:where(.ui-compra) #productos_lista .jqx-grid-content,
:where(.ui-compra) #suplidores_grid .jqx-grid-content {
    max-height: none !important;
}

:where(.ui-compra) .jqx-grid {
    border-radius: var(--gm-radius-md);
    overflow: hidden;
}

:where(.ui-compra) .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-compra) .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-compra) .modal-dialog {
    max-width: 1200px !important;
}
}

:where(.ui-compra) .modal-content {
    border-radius: var(--gm-radius-lg);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    overflow: hidden;
}

:where(.ui-compra) .modal-header {
    background: var(--gm-navy);
    color: rgb(255, 255, 255);
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    padding: 1rem 1.25rem;
}

:where(.ui-compra) .modal-header .modal-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

:where(.ui-compra) .modal-header .close {
    color: rgb(255, 255, 255);
    opacity: 0.8;
    text-shadow: none;
}

:where(.ui-compra) .modal-header .close:hover {
    opacity: 1;
}

:where(.ui-compra) .modal-body {
    padding: 1.25rem;
    background: var(--gm-card);
}

:where(.ui-compra) .modal-footer {
    background: var(--gm-panel);
    border-top: 1px solid var(--gm-border);
    padding: 0.75rem 1.25rem;
}

:where(.ui-compra) #imprimircompras_modal .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-compra) #imprimircompras_modal .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-compra) #imprimircompras_modal .modal-dialog {
    max-width: 1200px !important;
}
}

:where(.ui-compra) #imprimircompras_modal .modal-content {
    max-height: calc(-1.2rem + 100vh);
    display: flex;
    flex-direction: column;
}

:where(.ui-compra) #imprimircompras_modal .modal-header,
:where(.ui-compra) #imprimircompras_modal .modal-footer {
    flex-shrink: 0;
}

:where(.ui-compra) #imprimircompras_modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
    min-height: 0px;
}

:where(.ui-compra) #imprimircompras_modal .table-responsive {
    flex: 1 1 auto;
    min-height: 0px;
    max-height: 60vh;
    overflow: auto !important;
}

:where(.ui-compra) #imprimircompras_modal .table th {
    text-align: left;
}

:where(.ui-compra) #imprimircompras_modal #tabla_imprimir td {
    color: var(--gm-text);
}

:where(.ui-compra) #imprimircompras_modal #tabla_imprimir tbody tr {
    transition: background 0.15s;
}

:where(.ui-compra) #imprimircompras_modal #tabla_imprimir tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-compra) #imprimircompras_modal #tabla_imprimir tbody tr:nth-child(2n) {
    background: var(--gm-panel);
}

:where(.ui-compra) #imprimircompras_modal #tabla_imprimir tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-compra) #imprimircompras_modal .fila-busqueda {
    background: var(--gm-panel);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-md);
    padding: 0.9rem 1rem;
    margin-bottom: 0px;
}

:where(.ui-compra) #imprimircompras_modal .fila-busqueda .col-form-label {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

:where(.ui-compra) #imprimircompras_modal #tabla_imprimir tbody tr.filaImprimir.table-active {
    background: var(--gm-teal-soft);
    box-shadow: inset 3px 0 0 var(--gm-teal);
}

:where(.ui-compra) body {
    background: var(--gm-bg);
}

@media (max-width: 767.98px) {
:where(.ui-compra) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .col-form-label {
    font-size: 0.8rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .form-control {
    font-size: 0.88rem;
    padding: 0.55rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .card-header b {
    font-size: 0.9rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: stretch !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .card-footer .btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .totales-box .total-row-final .total-value {
    font-size: 1.3rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .table-responsive {
    overflow-x: auto;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .modal-dialog {
    margin: 0.6rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-compra) .modal-body {
    padding: 0.9rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-compra) .card-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-compra) .modal-footer {
    flex-wrap: wrap;
    gap: 0.4rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-compra) .modal-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-compra) .modal-body {
    padding: 0.75rem;
}
}

:where(.ui-compra) .gm-preload-overlay {
    position: fixed;
    inset: 0px;
    z-index: 99999;
    background: rgba(20, 25, 45, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.ui-compra) .gm-preload-box {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: rgba(20, 25, 45, 0.25) 0px 12px 40px;
    padding: 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    max-width: 320px;
}

:where(.ui-compra) .gm-preload-spinner img {
    width: 64px;
    height: 64px;
    display: block;
}

:where(.ui-compra) .gm-preload-msg {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gm-text);
}

:where(.ui-cotizacion-recibo-cotizacion) body {
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    width: 80mm;
    padding: 2mm 3mm;
    color: rgb(0, 0, 0);
}

:where(.ui-cotizacion-recibo-cotizacion) .header {
    text-align: center;
    margin-bottom: 4px;
}

:where(.ui-cotizacion-recibo-cotizacion) .header h2 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2px;
}

:where(.ui-cotizacion-recibo-cotizacion) .header p {
    font-size: 10px;
    line-height: 1.3;
    margin: 0px;
}

:where(.ui-cotizacion-recibo-cotizacion) .divider {
    border-top: 1px dashed rgb(0, 0, 0);
    margin: 4px 0px;
}

:where(.ui-cotizacion-recibo-cotizacion) .divider-solid {
    border-top: 1px solid rgb(0, 0, 0);
    margin: 4px 0px;
}

:where(.ui-cotizacion-recibo-cotizacion) .info-table {
    width: 100%;
    font-size: 10px;
    margin-bottom: 4px;
}

:where(.ui-cotizacion-recibo-cotizacion) .info-table td {
    padding: 1px 0px;
    vertical-align: top;
}

:where(.ui-cotizacion-recibo-cotizacion) .info-table td:first-child {
    width: 28%;
}

:where(.ui-cotizacion-recibo-cotizacion) .info-table td:last-child {
    width: 72%;
}

:where(.ui-cotizacion-recibo-cotizacion) .item-table {
    width: 100%;
    font-size: 10px;
    border-collapse: collapse;
}

:where(.ui-cotizacion-recibo-cotizacion) .item-table th {
    border-bottom: 1px solid rgb(0, 0, 0);
    border-top: 1px solid rgb(0, 0, 0);
    padding: 2px 1px;
    font-size: 9px;
    text-align: left;
}

:where(.ui-cotizacion-recibo-cotizacion) .item-table th.right,
:where(.ui-cotizacion-recibo-cotizacion) .item-table td.right {
    text-align: right;
}

:where(.ui-cotizacion-recibo-cotizacion) .item-table td {
    padding: 1px;
    vertical-align: top;
}

:where(.ui-cotizacion-recibo-cotizacion) .item-desc {
    max-width: 140px;
    word-break: break-word;
}

:where(.ui-cotizacion-recibo-cotizacion) .total-table {
    width: 100%;
    font-size: 11px;
    margin-top: 4px;
}

:where(.ui-cotizacion-recibo-cotizacion) .total-table td {
    padding: 1px 0px;
}

:where(.ui-cotizacion-recibo-cotizacion) .total-table td:first-child {
    text-align: right;
    width: 60%;
    padding-right: 4px;
}

:where(.ui-cotizacion-recibo-cotizacion) .total-table td:last-child {
    text-align: right;
    width: 40%;
    font-weight: bold;
}

:where(.ui-cotizacion-recibo-cotizacion) .total-grande td {
    font-size: 14px;
    font-weight: bold;
}

:where(.ui-cotizacion-recibo-cotizacion) .footer {
    text-align: center;
    margin-top: 6px;
    font-size: 10px;
}

:where(.ui-cotizacion-recibo-cotizacion) .footer p {
    margin: 1px 0px;
}

@media print {
:where(.ui-cotizacion-recibo-cotizacion) body {
    width: 80mm;
}
}

@media print {
:where(.ui-cotizacion-recibo-cotizacion) .no-print {
    display: none;
}
}

:where(.ui-cotizacion-recibo-cotizacion) .no-print {
    text-align: center;
    margin: 10px 0px;
}

:where(.ui-cotizacion-recibo-cotizacion) .no-print button {
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

:where(.ui-empresa) .card-body {
    padding: 1.5rem;
}

:where(.ui-empresa) label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(90, 104, 114);
    margin-bottom: 0.2rem;
}

:where(.ui-empresa) label i.fa-question-circle {
    color: rgb(200, 206, 211);
    font-size: 0.8rem;
    cursor: help;
    transition: color 0.2s;
}

:where(.ui-empresa) label i.fa-question-circle:hover {
    color: rgb(212, 168, 83);
}

:where(.ui-empresa) .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-empresa) .form-control:focus {
    border-color: rgb(212, 168, 83);
    box-shadow: rgba(212, 168, 83, 0.12) 0px 0px 0px 3px;
}

:where(.ui-empresa) .form-control[disabled],
:where(.ui-empresa) .form-control:disabled,
:where(.ui-empresa) p.form-control {
    background: rgb(248, 249, 252);
    border-color: rgba(0, 0, 0, 0.04);
    color: rgb(108, 117, 125);
}

:where(.ui-empresa) select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9aa8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 2rem;
}

:where(.ui-empresa) textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

:where(.ui-empresa) .form-check.checkbox {
    padding-top: 0.3rem;
}

:where(.ui-empresa, .ui-ncf) .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 4px;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    background: rgb(255, 255, 255);
    cursor: pointer;
    transition: 0.2s;
    margin-top: 0.25rem;
    appearance: none;
    position: relative;
}

:where(.ui-empresa) .form-check-input:checked {
    background: rgb(26, 32, 53);
    border-color: rgb(26, 32, 53);
}

:where(.ui-empresa) .form-check-input:focus {
    box-shadow: rgba(212, 168, 83, 0.15) 0px 0px 0px 3px;
    border-color: rgb(212, 168, 83);
}

:where(.ui-empresa) .form-check-label {
    padding-left: 0.4rem;
    font-size: 0.85rem;
    color: rgb(44, 62, 80);
}

:where(.ui-empresa) .nav-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.25rem;
}

:where(.ui-empresa) .nav-tabs .nav-link {
    border-width: medium medium 2px;
    border-style: none none solid;
    border-color: currentcolor currentcolor transparent;
    border-image: none;
    color: rgb(138, 154, 168);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
    transition: 0.2s;
    border-radius: 0px;
}

:where(.ui-empresa) .nav-tabs .nav-link:hover {
    color: rgb(44, 62, 80);
    border-bottom-color: rgba(212, 168, 83, 0.3);
}

:where(.ui-empresa) .nav-tabs .nav-link.active {
    color: rgb(26, 32, 53);
    border-bottom-color: rgb(34, 192, 232);
    background: none;
}

:where(.ui-empresa) .nav-tabs .nav-link i {
    margin-right: 0.35rem;
}

:where(.ui-empresa, .ui-user) hr {
    border-color: rgba(0, 0, 0, 0.06);
}

:where(.ui-empresa) .btn {
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-empresa) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-empresa) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-empresa) .btn-lg {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.88rem !important;
}

:where(.ui-empresa) .pull-right {
    float: right;
}

:where(.ui-empresa) .card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgb(44, 62, 80);
    margin-bottom: 0.75rem;
}

:where(.ui-empresa) #logo {
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 8px;
}

@media (max-width: 767.98px) {
:where(.ui-empresa) .card-body {
    padding: 1.1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa) label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa) .nav-tabs .nav-link {
    font-size: 0.76rem;
    padding: 0.5rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-empresa) .btn-lg {
    font-size: 0.82rem !important;
    padding: 0.4rem 1.2rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .card-body {
    padding: 0.9rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .nav-tabs .nav-link {
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .nav-tabs .nav-link i {
    margin-right: 0.2rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .btn-lg {
    font-size: 0.78rem !important;
    padding: 0.35rem 1rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .form-check-input {
    width: 1rem;
    height: 1rem;
}
}

@media (max-width: 576px) {
:where(.ui-empresa) .form-check-input:checked::after {
    left: 3px;
    top: 0px;
    width: 4px;
    height: 8px;
}
}

:where(.ui-error-404) body.app.error-404-page {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
}

:where(.ui-error-404) .error-particles {
    position: absolute;
    inset: 0px;
    pointer-events: none;
    z-index: 0;
}

:where(.ui-error-404) .error-particles span {
    position: absolute;
    bottom: -40px;
    display: block;
    font-family: "Courier New", monospace;
    font-weight: bold;
    color: rgba(255, 193, 7, 0.18);
    animation: auto linear 0s infinite normal none running floatUp;
    user-select: none;
}

:where(.ui-error-404) .error-particles span:nth-child(1) {
    left: 6%;
    font-size: 22px;
    animation-duration: 14s;
    animation-delay: 0s;
}

:where(.ui-error-404) .error-particles span:nth-child(2) {
    left: 16%;
    font-size: 14px;
    animation-duration: 10s;
    animation-delay: 1s;
}

:where(.ui-error-404) .error-particles span:nth-child(3) {
    left: 27%;
    font-size: 30px;
    animation-duration: 18s;
    animation-delay: 2s;
}

:where(.ui-error-404) .error-particles span:nth-child(4) {
    left: 38%;
    font-size: 16px;
    animation-duration: 12s;
    animation-delay: 0.5s;
}

:where(.ui-error-404) .error-particles span:nth-child(5) {
    left: 50%;
    font-size: 20px;
    animation-duration: 16s;
    animation-delay: 3s;
}

:where(.ui-error-404) .error-particles span:nth-child(6) {
    left: 62%;
    font-size: 12px;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

:where(.ui-error-404) .error-particles span:nth-child(7) {
    left: 73%;
    font-size: 26px;
    animation-duration: 17s;
    animation-delay: 2.5s;
}

:where(.ui-error-404) .error-particles span:nth-child(8) {
    left: 84%;
    font-size: 15px;
    animation-duration: 13s;
    animation-delay: 0.8s;
}

:where(.ui-error-404) .error-particles span:nth-child(9) {
    left: 92%;
    font-size: 22px;
    animation-duration: 15s;
    animation-delay: 4s;
}

:where(.ui-error-404) .error-particles span:nth-child(10) {
    left: 45%;
    font-size: 18px;
    animation-duration: 19s;
    animation-delay: 1.2s;
}

:where(.ui-error-404) .error-content {
    position: relative;
    z-index: 1;
}

:where(.ui-error-404) dotlottie-wc {
    background: transparent;
    display: block;
    margin: 0px auto;
    filter: drop-shadow(rgba(0, 0, 0, 0.35) 0px 8px 24px);
}

:where(.ui-error-404) .error-content h2 {
    color: rgb(241, 241, 244);
    font-weight: 600;
}

:where(.ui-error-404) .error-content p.text-muted {
    color: rgb(144, 152, 168) !important;
}

:where(.ui-error-404) .btn-warning.btn-block {
    font-weight: 600;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

:where(.ui-error-404) .btn-warning.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: black 0px 6px 18px;
}

:where(.ui-access-message) body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(26, 26, 46);
    font-family: "Segoe UI", sans-serif;
}

:where(.ui-access-message) .container {
    text-align: center;
    padding: 2rem;
}

:where(.ui-access-message) #typewriter {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(233, 69, 96);
    min-height: 3rem;
    letter-spacing: 2px;
    text-shadow: rgba(233, 69, 96, 0.3) 0px 0px 20px;
}

:where(.ui-access-message) .cursor {
    display: inline-block;
    width: 3px;
    height: 2rem;
    background: rgb(233, 69, 96);
    margin-left: 4px;
    animation: 0.8s step-end 0s infinite normal none running blink;
    vertical-align: text-bottom;
}

:where(.ui-gastosmenores-asignaciones) .btn-warning {
    background: rgb(245, 166, 35) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-gastosmenores-asignaciones) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

:where(.ui-gastosmenores-asignaciones) .table-responsive {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

:where(.ui-gastosmenores-asignaciones) .table thead th {
    background: rgb(248, 249, 252);
    color: rgb(90, 104, 114);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

:where(.ui-gastosmenores-asignaciones) .table tbody tr {
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

:where(.ui-gastosmenores-asignaciones) .table tbody tr:hover {
    background: rgba(34, 192, 232, 0.12);
}

:where(.ui-gastosmenores-asignaciones) .table tbody tr.selected {
    background: rgba(34, 192, 232, 0.12);
    box-shadow: rgb(34, 192, 232) 3px 0px 0px inset;
}

:where(.ui-gastosmenores-asignaciones) .badge-tipo {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    font-weight: 600;
}

:where(.ui-gastosmenores-asignaciones) .badge-gasto {
    background: rgb(245, 166, 35);
    color: rgb(255, 255, 255);
}

:where(.ui-gastosmenores-asignaciones) .badge-compra {
    background: rgb(34, 192, 232);
    color: rgb(255, 255, 255);
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-asignaciones) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-asignaciones) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-asignaciones) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-asignaciones) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-container {
    max-width: 750px;
    margin: 0px auto;
    padding: 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    color: rgb(26, 32, 53);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-header {
    text-align: center;
    margin-bottom: 15px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-header h2 {
    margin: 0px 0px 5px;
    font-size: 18px;
    color: rgb(26, 32, 53);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-header p {
    margin: 2px 0px;
    font-size: 12px;
    color: rgb(90, 104, 114);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-divider {
    border-top: 2px solid rgb(26, 32, 53);
    margin: 12px 0px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-divider-thin {
    border-top: 1px dashed rgb(204, 204, 204);
    margin: 8px 0px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .info-table {
    width: 100%;
    border-collapse: collapse;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .info-table td {
    padding: 3px 0px;
    font-size: 12px;
    vertical-align: top;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .info-table td:first-child {
    width: 130px;
    font-weight: 600;
    color: rgb(90, 104, 114);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .items-table th {
    background: rgb(240, 242, 245);
    color: rgb(90, 104, 114);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    padding: 6px 8px;
    border-bottom: 2px solid rgb(221, 221, 221);
    text-align: left;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .items-table th.right,
:where(.ui-gastosmenores-imprimir-gasto-menor) .items-table td.right {
    text-align: right;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .items-table td {
    padding: 5px 8px;
    border-bottom: 1px solid rgb(238, 238, 238);
    font-size: 12px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .items-table tr:last-child td {
    border-bottom: 2px solid rgb(221, 221, 221);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .totals-table {
    width: 300px;
    margin-left: auto;
    margin-top: 10px;
    border-collapse: collapse;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .totals-table td {
    padding: 4px 8px;
    font-size: 13px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .totals-table td:first-child {
    font-weight: 600;
    color: rgb(90, 104, 114);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .totals-table td:last-child {
    text-align: right;
    font-weight: 600;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .totals-table .total-row td {
    font-size: 16px;
    font-weight: 700;
    color: rgb(26, 32, 53);
    border-top: 2px solid rgb(26, 32, 53);
    padding-top: 6px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .ncf-box {
    background: rgb(248, 249, 252);
    border: 1px solid rgb(221, 221, 221);
    border-radius: 6px;
    padding: 8px 12px;
    margin: 10px 0px;
    text-align: center;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .ncf-box .ncf-label {
    font-size: 11px;
    color: rgb(90, 104, 114);
    text-transform: uppercase;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .ncf-box .ncf-value {
    font-size: 16px;
    font-weight: 700;
    color: rgb(26, 32, 53);
    margin-top: 2px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .ecf-box {
    background: rgb(232, 245, 233);
    border: 1px solid rgb(165, 214, 167);
    border-radius: 6px;
    padding: 8px 12px;
    margin: 10px 0px;
    text-align: center;
    font-size: 11px;
    color: rgb(46, 125, 50);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 11px;
    color: rgb(90, 104, 114);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .print-footer p {
    margin: 2px 0px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print {
    text-align: center;
    margin: 15px 0px;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print button {
    padding: 10px 25px;
    font-size: 14px;
    cursor: pointer;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 8px;
    margin: 0px 8px;
    font-weight: 600;
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print .btn-print {
    background: rgb(26, 32, 53);
    color: rgb(255, 255, 255);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print .btn-print:hover {
    background: rgb(44, 62, 110);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print .btn-close {
    background: rgb(232, 236, 244);
    color: rgb(90, 104, 114);
}

:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print .btn-close:hover {
    background: rgb(221, 225, 234);
}

@media print {
:where(.ui-gastosmenores-imprimir-gasto-menor) .no-print {
    display: none !important;
}
}

@media print {
:where(.ui-gastosmenores-imprimir-gasto-menor) .print-container {
    padding: 0px;
    max-width: 100%;
}
}

@media print {
:where(.ui-gastosmenores-imprimir-gasto-menor) body {
    background: rgb(255, 255, 255);
}
}

:where(.ui-gastosmenores) #frmGastosMenores,
:where(.ui-gastosmenores) #frmGastosMenores * {
    box-sizing: border-box;
}

:where(.ui-gastosmenores) .card {
    background: var(--gm-card);
    border-radius: var(--gm-radius-lg);
    box-shadow: var(--gm-shadow);
    margin-top: 0.5rem;
    transition: box-shadow 0.2s;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-gastosmenores) .card-header {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: var(--gm-text);
    background: var(--gm-panel) !important;
    border-bottom: 1px solid var(--gm-border) !important;
    border-radius: var(--gm-radius-lg) var(--gm-radius-lg) 0 0 !important;
}

:where(.ui-gastosmenores) .card-header b {
    font-weight: 600;
}

:where(.ui-gastosmenores) .card-body {
    padding: 1.25rem;
}

:where(.ui-gastosmenores) .card-footer {
    padding: 0.75rem 1.1rem;
    background: var(--gm-panel) !important;
    border-top: 1px solid var(--gm-border) !important;
    border-radius: 0 0 var(--gm-radius-lg) var(--gm-radius-lg) !important;
}

:where(.ui-gastosmenores) .gm-section {
    position: relative;
    overflow: hidden;
}

:where(.ui-gastosmenores) .gm-section::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 4px;
}

:where(.ui-gastosmenores) .gm-section--doc::before {
    background: var(--gm-teal);
}

:where(.ui-gastosmenores) .gm-section--line::before {
    background: var(--gm-amber);
}

:where(.ui-gastosmenores) .gm-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gm-text-muted);
    margin-bottom: 0.85rem;
}

:where(.ui-gastosmenores) .gm-section-title i {
    color: inherit;
    opacity: 0.7;
}

:where(.ui-gastosmenores) .col-form-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gm-text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

:where(.ui-gastosmenores) .form-control {
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-sm);
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    height: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: rgb(255, 255, 255);
}

:where(.ui-gastosmenores) .form-control:focus {
    border-color: var(--gm-teal);
    box-shadow: 0 0 0 3px var(--gm-teal-soft);
}

:where(.ui-gastosmenores) .form-control::placeholder {
    color: rgb(167, 176, 189);
}

:where(.ui-gastosmenores) .form-control[readonly] {
    background: var(--gm-panel);
    color: var(--gm-text-muted);
}

:where(.ui-gastosmenores) .input-group .form-control {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

:where(.ui-gastosmenores) .input-group-append .btn {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

:where(.ui-gastosmenores) .input-group-prepend .input-group-text {
    border: 1px solid var(--gm-border);
    background: var(--gm-panel);
    border-radius: var(--gm-radius-sm) 0 0 var(--gm-radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gm-text-muted);
}

:where(.ui-gastosmenores) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.45rem 0.9rem !important;
    transition: 0.15s !important;
    box-shadow: none !important;
}

:where(.ui-gastosmenores) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: rgba(20, 25, 45, 0.15) 0px 4px 10px;
}

:where(.ui-gastosmenores) .btn:active {
    transform: translateY(0px);
    filter: brightness(0.98);
}

:where(.ui-gastosmenores) .btn:focus-visible {
    outline: 2px solid var(--gm-teal);
    outline-offset: 2px;
}

:where(.ui-gastosmenores) .btn-primary {
    background: var(--gm-navy) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-gastosmenores) .btn-secondary {
    background: rgb(238, 241, 247) !important;
    color: var(--gm-text-muted) !important;
}

:where(.ui-gastosmenores) .btn-info {
    background: var(--gm-teal-soft) !important;
    color: rgb(14, 136, 168) !important;
}

:where(.ui-gastosmenores) .btn-info:hover {
    background: var(--gm-teal) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-gastosmenores) .btn-danger {
    background: var(--gm-red-soft) !important;
    color: var(--gm-red) !important;
}

:where(.ui-gastosmenores) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.38rem 0.75rem !important;
    border-radius: 12px !important;
}

:where(.ui-gastosmenores) .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

:where(.ui-gastosmenores) .totales-box {
    background: var(--gm-panel);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-md);
    padding: 1rem 1.15rem;
}

:where(.ui-gastosmenores) .totales-box .total-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gm-text-muted);
}

:where(.ui-gastosmenores) .totales-box .total-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gm-navy);
    margin-top: 0.1rem;
}

:where(.ui-gastosmenores) .totales-box .total-row-final {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--gm-border);
}

:where(.ui-gastosmenores) .totales-box .total-row-final .total-value {
    font-size: 1.5rem;
    color: var(--gm-teal);
}

:where(.ui-gastosmenores) .custom-radio-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gm-text);
}

:where(.ui-gastosmenores) #tabla_gastos_menores {
    border-radius: var(--gm-radius-md);
    overflow: hidden;
    border: 1px solid var(--gm-border);
}

:where(.ui-gastosmenores) .jqx-grid {
    border-radius: var(--gm-radius-md);
    overflow: hidden;
}

:where(.ui-gastosmenores) .table-responsive {
    border-radius: var(--gm-radius-md);
    border: 1px solid var(--gm-border);
    max-height: 65vh;
    overflow: auto !important;
}

:where(.ui-gastosmenores) #tabla_imprimir {
    min-width: 800px;
}

:where(.ui-gastosmenores) .table-responsive table thead th {
    background: var(--gm-panel);
    color: var(--gm-text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid var(--gm-border);
    white-space: nowrap;
    position: sticky;
    top: 0px;
    z-index: 1;
}

:where(.ui-gastosmenores) .table-responsive table tbody td {
    white-space: nowrap;
}

:where(.ui-gastosmenores) .table thead th {
    background: rgb(248, 249, 252);
    color: rgb(90, 104, 114);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

:where(.ui-gastosmenores) .table tbody tr {
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

:where(.ui-gastosmenores) .table tbody tr:hover {
    background: rgba(34, 192, 232, 0.12);
}

:where(.ui-gastosmenores) .table tbody tr.selected {
    background: rgba(34, 192, 232, 0.12);
    box-shadow: rgb(34, 192, 232) 3px 0px 0px inset;
}

:where(.ui-gastosmenores) .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-gastosmenores) .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-gastosmenores) .modal-dialog {
    max-width: 1200px !important;
}
}

:where(.ui-gastosmenores) .modal-content {
    border-radius: var(--gm-radius-lg);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    overflow: hidden;
}

:where(.ui-gastosmenores) .modal-header {
    background: var(--gm-navy);
    color: rgb(255, 255, 255);
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    padding: 1rem 1.25rem;
}

:where(.ui-gastosmenores) .modal-header .modal-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

:where(.ui-gastosmenores) .modal-header .close {
    color: rgb(255, 255, 255);
    opacity: 0.8;
    text-shadow: none;
}

:where(.ui-gastosmenores) .modal-header .close:hover {
    opacity: 1;
}

:where(.ui-gastosmenores) .modal-body {
    padding: 1.25rem;
    background: var(--gm-card);
}

:where(.ui-gastosmenores) .modal-footer {
    background: var(--gm-panel);
    border-top: 1px solid var(--gm-border);
    padding: 0.75rem 1.25rem;
}

:where(.ui-gastosmenores) #imprimirgastos_modal .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-gastosmenores) #imprimirgastos_modal .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-gastosmenores) #imprimirgastos_modal .modal-dialog {
    max-width: 1200px !important;
}
}

:where(.ui-gastosmenores) #imprimirgastos_modal .modal-content {
    max-height: calc(-1.2rem + 100vh);
    display: flex;
    flex-direction: column;
}

:where(.ui-gastosmenores) #imprimirgastos_modal .modal-header,
:where(.ui-gastosmenores) #imprimirgastos_modal .modal-footer {
    flex-shrink: 0;
}

:where(.ui-gastosmenores) #imprimirgastos_modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
    min-height: 0px;
}

:where(.ui-gastosmenores) #imprimirgastos_modal .table-responsive {
    flex: 1 1 auto;
    min-height: 0px;
    max-height: 60vh;
    overflow: auto !important;
}

:where(.ui-gastosmenores) #imprimirgastos_modal .table th {
    text-align: left;
}

:where(.ui-gastosmenores) #imprimirgastos_modal #tabla_imprimir td {
    color: var(--gm-text);
}

:where(.ui-gastosmenores) #imprimirgastos_modal #tabla_imprimir tbody tr {
    transition: background 0.15s;
}

:where(.ui-gastosmenores) #imprimirgastos_modal #tabla_imprimir tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-gastosmenores) #imprimirgastos_modal #tabla_imprimir tbody tr:nth-child(2n) {
    background: var(--gm-panel);
}

:where(.ui-gastosmenores) #imprimirgastos_modal #tabla_imprimir tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-gastosmenores) #imprimirgastos_modal #tabla_imprimir tbody tr.filaImprimir.table-active {
    background: var(--gm-teal-soft);
    box-shadow: inset 3px 0 0 var(--gm-teal);
}

:where(.ui-gastosmenores) #imprimirgastos_modal .fila-busqueda {
    background: var(--gm-panel);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-md);
    padding: 0.9rem 1rem;
    margin-bottom: 0px;
}

:where(.ui-gastosmenores) #imprimirgastos_modal .fila-busqueda .col-form-label {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

:where(.ui-gastosmenores) body {
    background: var(--gm-bg);
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .col-form-label {
    font-size: 0.78rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .form-control {
    font-size: 0.88rem;
    padding: 0.55rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .card-header b {
    font-size: 0.9rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: stretch !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .card-footer .btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .totales-box .total-row-final .total-value {
    font-size: 1.3rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .modal-dialog {
    margin: 0.6rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores) .modal-body {
    padding: 0.9rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores) .card-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores) .modal-footer {
    flex-wrap: wrap;
    gap: 0.4rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores) .modal-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores) .modal-body {
    padding: 0.75rem;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores) .form-group .col-6 {
    padding-right: 6px;
    padding-left: 6px;
}
}

:where(.ui-gastosmenores) .gm-preload-overlay {
    position: fixed;
    inset: 0px;
    z-index: 99999;
    background: rgba(20, 25, 45, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.ui-gastosmenores) .gm-preload-box {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: rgba(20, 25, 45, 0.25) 0px 12px 40px;
    padding: 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    max-width: 320px;
}

:where(.ui-gastosmenores) .gm-preload-spinner img {
    width: 64px;
    height: 64px;
    display: block;
}

:where(.ui-gastosmenores) .gm-preload-msg {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gm-text);
}

:where(.ui-gastosmenores-productos-gastos) .btn-danger {
    background: rgb(231, 76, 60) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-gastosmenores-productos-gastos) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

:where(.ui-gastosmenores-productos-gastos) .modal-dialog {
    max-width: 98vw !important;
}

@media (min-width: 576px) {
:where(.ui-gastosmenores-productos-gastos) .modal-dialog {
    max-width: 95vw !important;
}
}

@media (min-width: 992px) {
:where(.ui-gastosmenores-productos-gastos) .modal-dialog {
    max-width: 900px !important;
}
}

:where(.ui-gastosmenores-productos-gastos) .modal-body {
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
}

:where(.ui-gastosmenores-productos-gastos) .modal-footer {
    flex-wrap: wrap;
    gap: 0.4rem;
}

:where(.ui-gastosmenores-productos-gastos) .modal-footer .btn {
    flex: 1 1 auto;
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores-productos-gastos) .modal-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .col-form-label {
    font-size: 0.78rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .form-control {
    font-size: 0.88rem;
    padding: 0.55rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .card-header b {
    font-size: 0.9rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-productos-gastos) .card-footer .btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores-productos-gastos) .card-footer .btn {
    flex: 1 1 100%;
}
}

:where(.ui-gastosmenores-reenviar-ecf) .table-responsive {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 65vh;
    overflow: auto !important;
}

:where(.ui-gastosmenores-reenviar-ecf) #tabla_reenviar {
    min-width: 760px;
}

:where(.ui-gastosmenores-reenviar-ecf) .table thead th {
    background: rgb(248, 249, 252);
    color: rgb(90, 104, 114);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    position: sticky;
    top: 0px;
    z-index: 1;
}

:where(.ui-gastosmenores-reenviar-ecf) .table tbody tr {
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

:where(.ui-gastosmenores-reenviar-ecf) .table tbody td {
    white-space: nowrap;
}

:where(.ui-gastosmenores-reenviar-ecf) .table tbody tr:hover {
    background: rgba(34, 192, 232, 0.12);
}

:where(.ui-gastosmenores-reenviar-ecf) .table tbody tr.selected {
    background: rgba(34, 192, 232, 0.12);
    box-shadow: rgb(34, 192, 232) 3px 0px 0px inset;
}

:where(.ui-gastosmenores-reenviar-ecf) .badge-tipo {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    font-weight: 600;
}

:where(.ui-gastosmenores-reenviar-ecf) .badge-gasto {
    background: rgb(245, 166, 35);
    color: rgb(255, 255, 255);
}

:where(.ui-gastosmenores-reenviar-ecf) .badge-compra {
    background: rgb(34, 192, 232);
    color: rgb(255, 255, 255);
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .col-form-label {
    font-size: 0.78rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .form-control {
    font-size: 0.88rem;
    padding: 0.55rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .card-header b {
    font-size: 0.9rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: stretch !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .card-footer .btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .card-footer .btn {
    flex: 1 1 100%;
}
}

@media (max-width: 575.98px) {
:where(.ui-gastosmenores-reenviar-ecf) .input-group {
    flex-wrap: nowrap;
}
}

:where(.ui-login) body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgb(242, 245, 250) 0%, rgb(232, 236, 244) 50%, rgb(238, 241, 247) 100%) !important;
}

:where(.ui-login) body::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
    top: -120px;
    right: -120px;
    pointer-events: none;
}

:where(.ui-login) body::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 168, 216, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

:where(.ui-login) .login-container {
    animation: 0.5s ease-out 0s 1 normal none running fadeInUp;
    position: relative;
    z-index: 1;
    padding: 0px 1rem;
}

:where(.ui-login) .card-group.login-card {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 24px;
    border-radius: 20px;
    overflow: hidden;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
}

:where(.ui-login) .card-group.login-card .card {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
}

:where(.ui-login) .login-form {
    background: rgb(255, 255, 255);
}

:where(.ui-login) .login-form .card-body {
    padding: 2.2rem 2rem;
}

:where(.ui-login) .login-form .form-control {
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    height: calc(2px + 2.3rem);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-login) .login-form .form-control:focus {
    border-color: rgb(212, 168, 83);
    box-shadow: rgba(212, 168, 83, 0.12) 0px 0px 0px 3px;
}

:where(.ui-login) .login-form .input-group-text {
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px 0px 0px 10px;
    background: rgb(248, 249, 252);
    color: rgb(138, 154, 168);
}

:where(.ui-login) .login-form .input-group .form-control {
    border-radius: 0px 10px 10px 0px;
}

:where(.ui-login) .login-form h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(26, 32, 53);
    margin-bottom: 0.2rem;
}

:where(.ui-login) .login-form h1 i {
    color: rgb(212, 168, 83) !important;
}

:where(.ui-login) .login-form .text-muted {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    color: rgb(138, 154, 168) !important;
}

:where(.ui-login) .login-form .btn {
    font-size: 0.88rem;
    padding: 0.45rem 1.1rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-login) .login-form .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-login) .login-form .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-login) .login-form .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-login) .login-form .btn-link {
    font-size: 0.82rem;
    text-decoration: none;
    color: rgb(138, 154, 168) !important;
}

:where(.ui-login) .login-form .btn-link:hover {
    text-decoration: underline;
    color: rgb(26, 32, 53) !important;
}

:where(.ui-login) .login-form .input-group {
    margin-bottom: 0.8rem !important;
}

:where(.ui-login) .btn-login {
    transition: 0.25s;
}

:where(.ui-login) .input-group:focus-within .input-group-text {
    color: rgb(34, 192, 232);
    border-color: rgba(212, 168, 83, 0.3);
}

:where(.ui-login) .brand-panel {
    background: linear-gradient(160deg, rgb(26, 32, 53) 0%, rgb(37, 45, 71) 100%);
    position: relative;
    overflow: hidden;
}

:where(.ui-login) .brand-panel .brand-anim-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0%;
}

:where(.ui-login) .brand-panel .brand-logo-wrap {
    display: flex;
    justify-content: center;
    padding-top: 0.25rem;
}

:where(.ui-login) .brand-panel .brand-logo-wrap .logo-badge {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 0.5rem 0.9rem;
    display: inline-flex;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 14px;
}

:where(.ui-login) .brand-panel .brand-logo-wrap img {
    max-width: 120px;
    height: auto;
    display: block;
}

:where(.ui-login) .brand-panel .brand-divider {
    width: 50px;
    height: 2px;
    margin: 0.5rem auto 0px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

:where(.ui-login) .brand-panel dotlottie-wc {
    filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 4px 12px);
}

:where(.ui-login) .brand-panel .powered-by {
    text-align: center;
    padding-bottom: 0.5rem;
}

:where(.ui-login) .brand-panel .powered-by span,
:where(.ui-login) .brand-panel .powered-by a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

:where(.ui-login) .brand-panel .powered-by a {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

:where(.ui-login) .brand-panel .powered-by a:hover {
    color: rgb(34, 192, 232) !important;
}

:where(.ui-login) #numpad {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

:where(.ui-login) #numpad.visible {
    visibility: visible;
    opacity: 1;
}

:where(.ui-login) #numpad .card {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 20px;
}

:where(.ui-login) #numpad .btn-lg {
    border-radius: 12px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    padding: 0.5rem 1rem !important;
    transition: 0.15s !important;
}

:where(.ui-login) #numpad .btn-lg:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

:where(.ui-login) #numpad .btn-primary {
    background: rgb(232, 236, 244) !important;
    color: rgb(26, 32, 53) !important;
}

:where(.ui-login) #numpad .btn-secondary {
    background: rgb(26, 32, 53) !important;
    color: rgb(255, 255, 255) !important;
}

@media (max-width: 991.98px) {
:where(.ui-login) .card-group.login-card {
    border-radius: 16px;
}
}

@media (max-width: 991.98px) {
:where(.ui-login) .login-form .card-body {
    padding: 1.8rem 1.5rem;
}
}

@media (max-width: 991.98px) {
:where(.ui-login) .brand-panel .brand-anim-wrap dotlottie-wc {
    width: 180px !important;
    height: 180px !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .card-group.login-card {
    border-radius: 14px;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .login-form .card-body {
    padding: 1.5rem 1.2rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .login-form h1 {
    font-size: 1.5rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .login-form .form-control {
    font-size: 0.88rem;
    padding: 0.45rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .login-form .input-group-text {
    font-size: 0.88rem;
    padding: 0.45rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .login-form .btn {
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    border-radius: 12px !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .brand-panel .brand-logo-wrap img {
    max-width: 100px;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .brand-panel .brand-anim-wrap dotlottie-wc {
    width: 140px !important;
    height: 140px !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-login) .brand-panel .powered-by span,
:where(.ui-login) .brand-panel .powered-by a {
    font-size: 0.75rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-container {
    padding: 0px 0.5rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) .card-group.login-card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form .card-body {
    padding: 1.2rem 1rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form h1 {
    font-size: 1.3rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form .text-muted {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
    height: calc(2px + 2rem);
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form .input-group-text {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form .btn {
    font-size: 0.76rem;
    padding: 0.35rem 0.7rem;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-login) .login-form .btn-link {
    font-size: 0.72rem;
}
}

@media (max-width: 576px) {
:where(.ui-login) #numpad .btn-lg {
    font-size: 0.9rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

:where(.ui-login) #preload-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

:where(.ui-login) #preload-overlay.active {
    display: flex;
}

:where(.ui-login) #preload-overlay p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: rgb(90, 104, 114);
    font-weight: 500;
}

:where(.ui-mesa) .col-md-8 {
    min-width: 0%;
    flex: 1 1 0%;
    width: 100%;
}

:where(.ui-mesa) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-mesa) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-mesa) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-mesa) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

@media (max-width: 767.98px) {
:where(.ui-mesa) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-mesa) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-mesa) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-mesa) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-mesa) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-mesa) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

:where(.ui-ncf) .form-check-input:checked {
    background: rgb(34, 192, 232);
    border-color: rgb(34, 192, 232);
}

:where(.ui-ncf) .form-check-input:focus {
    box-shadow: rgba(34, 192, 232, 0.15) 0px 0px 0px 3px;
    border-color: rgb(34, 192, 232);
}

:where(.ui-ncf) .form-check-label {
    font-size: 0.82rem;
    color: rgb(44, 62, 80);
    padding-left: 0.3rem;
}

:where(.ui-ncf) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-ncf) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-ncf) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-ncf) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-ncf) .btn-warning {
    background: rgb(249, 177, 21) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-ncf) .btn-success {
    background: rgb(34, 192, 232) !important;
}

:where(.ui-ncf) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

@media (max-width: 767.98px) {
:where(.ui-ncf) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-ncf) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-ncf) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-ncf) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-ncf) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .form-check-input {
    width: 1rem;
    height: 1rem;
}
}

@media (max-width: 576px) {
:where(.ui-ncf) .form-check-input:checked::after {
    left: 3px;
    top: 0px;
    width: 4px;
    height: 8px;
}
}

:where(.ui-propiedad-propiedad-producto) .input-group-text {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.8rem;
    background: rgb(248, 249, 252);
    color: rgb(90, 104, 114);
}

:where(.ui-propiedad-propiedad-producto) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-propiedad-propiedad-producto) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-propiedad-propiedad-producto) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-propiedad-propiedad-producto) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-propiedad-propiedad-producto) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

@media (max-width: 767.98px) {
:where(.ui-propiedad-propiedad-producto) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-propiedad-propiedad-producto) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-propiedad-propiedad-producto) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-propiedad-propiedad-producto) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-propiedad-propiedad-producto) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-propiedad-propiedad-producto) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

:where(.ui-punto-venta-comandas) .comanda-entrada {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

:where(.ui-punto-venta-comandas) .comanda-visible {
    opacity: 1;
    transform: translateY(0px);
}

:where(.ui-punto-venta-comandas) .comanda-item {
    transition: background 0.15s;
}

:where(.ui-punto-venta-comandas) .comanda-item:hover {
    background: rgb(248, 249, 250);
}

:where(.ui-punto-venta-comandas) .btn-entregar-comanda:hover {
    background: rgb(241, 248, 233) !important;
}

:where(.ui-punto-venta-comandas) #btnEntregarProducto:hover i {
    color: rgb(25, 118, 210) !important;
}

:where(.ui-punto-venta-comandas) .line-trought-text .flex-grow-1 {
    text-decoration: line-through;
    opacity: 0.4;
}

:where(.ui-cash-close) .btn-success {
    background: rgb(30, 142, 62) !important;
}

@media (max-width: 767.98px) {
:where(.ui-cash-close) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-cash-close) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-cash-close) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-cash-close) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-cash-close) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-cash-close) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

:where(.ui-punto-venta-devolucion-factura) .btn-danger {
    background: rgb(198, 40, 40) !important;
}

:where(.ui-punto-venta-devolucion-factura) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

:where(.ui-punto-venta-devolucion-factura) #btn-tour-devolucion-factura {
    border-radius: 14px !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.65rem !important;
    font-size: 0.78rem !important;
    transition: 0.2s !important;
}

:where(.ui-punto-venta-devolucion-factura) .modal-content {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 32px;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    border-radius: 16px !important;
}

:where(.ui-punto-venta-devolucion-factura) .modal-header {
    background: rgb(248, 249, 252);
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-punto-venta-devolucion-factura) .modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(44, 62, 80);
}

:where(.ui-punto-venta-devolucion-factura) .modal-header .close {
    font-size: 1.3rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

:where(.ui-punto-venta-devolucion-factura) .modal-header .close:hover {
    opacity: 0.8;
}

:where(.ui-punto-venta-devolucion-factura) .modal-body {
    padding: 1.1rem;
}

:where(.ui-punto-venta-devolucion-factura) .modal-footer {
    padding: 0.75rem 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

:where(.ui-punto-venta-devolucion-factura) #pdfModal .modal-dialog {
    max-width: 95%;
    width: 95%;
    margin: auto;
    height: auto;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

:where(.ui-punto-venta-devolucion-factura) #pdfModal .modal-content {
    height: 95vh;
    border-radius: 0px;
}

:where(.ui-punto-venta-devolucion-factura) #pdfModal .modal-body {
    overflow-y: auto;
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) #btn-tour-devolucion-factura {
    font-size: 0px;
    padding: 0.25rem 0.5rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-devolucion-factura) #btn-tour-devolucion-factura i {
    font-size: 0.9rem;
    margin: 0px;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .modal-content {
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .modal-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-devolucion-factura) .modal-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

:where(.ui-punto-venta-frmcotizacion) .card {
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px;
    margin-bottom: 1rem;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-punto-venta-frmcotizacion, .ui-suplidores) .card-header {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: rgb(44, 62, 80);
    background: rgb(248, 249, 252) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-punto-venta-frmcotizacion, .ui-suplidores) .card-header b {
    font-weight: 600;
}

:where(.ui-punto-venta-frmcotizacion) .card-body {
    padding: 1.1rem;
}

:where(.ui-punto-venta-frmcotizacion) .card-footer {
    background: rgb(248, 249, 252) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

:where(.ui-punto-venta-frmcotizacion) .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-punto-venta-frmcotizacion) .form-control:focus {
    border-color: rgb(32, 168, 216);
    box-shadow: rgba(32, 168, 216, 0.12) 0px 0px 0px 3px;
}

:where(.ui-punto-venta-frmcotizacion) .form-control:disabled {
    background: rgb(248, 249, 252);
    color: rgb(108, 117, 125);
}

:where(.ui-punto-venta-frmcotizacion) .form-control-sm {
    border-radius: 8px;
}

:where(.ui-punto-venta-frmcotizacion) .col-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(90, 104, 114);
    margin-bottom: 0.15rem;
    padding-bottom: 0px;
}

:where(.ui-punto-venta-frmcotizacion) .input-group-text {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgb(248, 249, 252);
    color: rgb(90, 104, 114);
    min-width: 100px;
}

:where(.ui-punto-venta-frmcotizacion) .input-group-sm .input-group-text {
    border-radius: 8px;
}

:where(.ui-punto-venta-frmcotizacion) .input-group-sm .form-control {
    border-radius: 8px;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group {
    gap: 0.35rem;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn-success {
    background: rgb(30, 142, 62) !important;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn-secondary {
    background: rgb(108, 117, 125) !important;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn-info {
    background: rgb(32, 168, 216) !important;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn-primary {
    background: rgb(60, 75, 100) !important;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn-danger {
    background: rgb(198, 40, 40) !important;
}

:where(.ui-punto-venta-frmcotizacion) .btn-group .btn-warning {
    background: rgb(249, 177, 21) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-punto-venta-frmcotizacion) #btn-agregar {
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    padding: 0.45rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-punto-venta-frmcotizacion) #btn-agregar:hover {
    filter: brightness(1.12);
}

:where(.ui-punto-venta-frmcotizacion) #btn-tour-cotizacion {
    border-radius: 14px !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.65rem !important;
    font-size: 0.78rem !important;
    transition: 0.2s !important;
}

:where(.ui-punto-venta-frmcotizacion) .badge {
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: 0.76rem;
}

:where(.ui-punto-venta-frmcotizacion) .badge-info {
    background: rgb(32, 168, 216) !important;
}

:where(.ui-punto-venta-frmcotizacion) .badge-success {
    background: rgb(30, 142, 62) !important;
}

:where(.ui-punto-venta-frmcotizacion) hr {
    border-color: rgba(0, 0, 0, 0.06);
}

:where(.ui-punto-venta-frmcotizacion) #subtotal,
:where(.ui-punto-venta-frmcotizacion) #total_itbis,
:where(.ui-punto-venta-frmcotizacion) #total_ley,
:where(.ui-punto-venta-frmcotizacion) #total_descuento {
    border-radius: 10px;
    font-size: 1rem !important;
}

:where(.ui-punto-venta-frmcotizacion) #total_general {
    border-radius: 10px;
    background: rgb(255, 245, 245);
    border-color: rgba(220, 53, 69, 0.15);
    font-size: 1.25rem !important;
}

:where(.ui-punto-venta-frmcotizacion) textarea.form-control {
    border-radius: 10px;
    resize: vertical;
}

:where(.ui-punto-venta-frmcotizacion) .form-check-input {
    margin-top: 0.3rem;
}

:where(.ui-punto-venta-frmcotizacion) .form-check-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgb(90, 104, 114);
}

:where(.ui-punto-venta-frmcotizacion) .modal-content {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 32px;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    border-radius: 16px !important;
}

:where(.ui-punto-venta-frmcotizacion) .modal-header {
    background: rgb(248, 249, 252);
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-punto-venta-frmcotizacion) .modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(44, 62, 80);
}

:where(.ui-punto-venta-frmcotizacion) .modal-header .close {
    font-size: 1.3rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

:where(.ui-punto-venta-frmcotizacion) .modal-header .close:hover {
    opacity: 0.8;
}

:where(.ui-punto-venta-frmcotizacion) .modal-body {
    padding: 1.1rem;
}

:where(.ui-punto-venta-frmcotizacion) .modal-footer {
    padding: 0.75rem 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) .card-header {
    padding: 0.55rem 0.85rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) .btn-group .btn {
    font-size: 0.73rem !important;
    padding: 0.32rem 0.6rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) #btn-tour-cotizacion {
    font-size: 0px;
    padding: 0.25rem 0.5rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) #btn-tour-cotizacion i {
    font-size: 0.9rem;
    margin: 0px;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) .btn-group {
    flex-wrap: wrap;
    gap: 0.25rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) .input-group-text {
    min-width: 80px;
    font-size: 0.76rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-punto-venta-frmcotizacion) #total_general {
    font-size: 1.1rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .modal-content {
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .modal-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .modal-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .btn-group .btn {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .col-form-label {
    font-size: 0.72rem;
}
}

@media (max-width: 576px) {
:where(.ui-punto-venta-frmcotizacion) .form-control {
    font-size: 0.8rem;
}
}

:where(.ui-reimprimir-factura) .card {
    background: var(--gm-card);
    border-radius: var(--gm-radius-lg);
    box-shadow: var(--gm-shadow);
    margin-top: 0.5rem;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-reimprimir-factura) .card-header {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: var(--gm-text);
    background: var(--gm-panel) !important;
    border-bottom: 1px solid var(--gm-border) !important;
    border-radius: var(--gm-radius-lg) var(--gm-radius-lg) 0 0 !important;
}

:where(.ui-reimprimir-factura) .card-header b {
    font-weight: 600;
}

:where(.ui-reimprimir-factura, .ui-suplidores) .card-body {
    padding: 1.25rem;
}

:where(.ui-reimprimir-factura) .card-footer {
    padding: 0.75rem 1.1rem;
    background: var(--gm-panel) !important;
    border-top: 1px solid var(--gm-border) !important;
    border-radius: 0 0 var(--gm-radius-lg) var(--gm-radius-lg) !important;
}

:where(.ui-reimprimir-factura) .col-form-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gm-text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

:where(.ui-reimprimir-factura) .form-control {
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius-sm);
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    height: auto;
}

:where(.ui-reimprimir-factura) .form-control:focus {
    border-color: var(--gm-teal);
    box-shadow: 0 0 0 3px var(--gm-teal-soft);
}

:where(.ui-reimprimir-factura) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.45rem 0.9rem !important;
}

:where(.ui-reimprimir-factura) .btn-primary {
    background: var(--gm-navy) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-reimprimir-factura) .btn-info {
    background: var(--gm-teal-soft) !important;
    color: rgb(14, 136, 168) !important;
}

:where(.ui-reimprimir-factura) .btn-info:hover {
    background: var(--gm-teal) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-reimprimir-factura) .btn-success {
    background: var(--gm-green-soft) !important;
    color: rgb(30, 122, 87) !important;
}

:where(.ui-reimprimir-factura) .btn-success:hover {
    background: var(--gm-green) !important;
    color: rgb(255, 255, 255) !important;
}

:where(.ui-reimprimir-factura) .btn-secondary {
    background: rgb(238, 241, 247) !important;
    color: var(--gm-text-muted) !important;
}

:where(.ui-reimprimir-factura) .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

:where(.ui-reimprimir-factura) .table-responsive {
    border-radius: var(--gm-radius-md);
    border: 1px solid var(--gm-border);
    max-height: 65vh;
    overflow: auto !important;
}

:where(.ui-reimprimir-factura) #tabla_facturas {
    min-width: 900px;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th {
    background: var(--gm-panel);
    color: var(--gm-text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    border-bottom: 1px solid var(--gm-border);
    white-space: nowrap;
    position: sticky;
    top: 0px;
    z-index: 1;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(1) {
    min-width: 140px;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(2) {
    min-width: 120px;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(3) {
    min-width: 180px;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(4) {
    min-width: 110px;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(5) {
    min-width: 140px;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(6) {
    min-width: 100px;
    text-align: right;
}

:where(.ui-reimprimir-factura) #tabla_facturas thead th:nth-child(7) {
    min-width: 80px;
    text-align: center;
}

:where(.ui-reimprimir-factura) #tabla_facturas tbody td {
    white-space: nowrap;
}

:where(.ui-reimprimir-factura) #tabla_facturas tbody tr {
    font-size: 0.85rem;
    cursor: pointer;
}

:where(.ui-reimprimir-factura) #tabla_facturas tbody tr:hover {
    background: var(--gm-teal-soft);
}

:where(.ui-reimprimir-factura) #tabla_facturas tbody tr.selected {
    background: var(--gm-teal-soft);
    box-shadow: inset 3px 0 0 var(--gm-teal);
}

:where(.ui-reimprimir-factura) #tabla_facturas tbody tr.anulada {
    opacity: 0.55;
}

:where(.ui-reimprimir-factura) .badge-anulada {
    background: var(--gm-red-soft);
    color: var(--gm-red);
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.72rem;
}

:where(.ui-reimprimir-factura) .badge-no-anulada {
    background: var(--gm-green-soft);
    color: rgb(30, 122, 87);
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.72rem;
}

:where(.ui-reimprimir-factura) #facturas_vacio {
    background: var(--gm-panel);
    border-radius: var(--gm-radius-md);
    font-size: 0.85rem;
    padding: 1.5rem !important;
}

:where(.ui-reimprimir-factura) #facturas_hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
}

:where(.ui-reimprimir-factura) .gm-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gm-text);
    border-bottom: 2px solid var(--gm-teal);
    padding-bottom: 0.3rem;
    margin-bottom: 0.6rem;
}

:where(.ui-reimprimir-factura) .gm-section-title i {
    color: var(--gm-teal);
}

@media (max-width: 767.98px) {
:where(.ui-reimprimir-factura) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-reimprimir-factura) .card-header b {
    font-size: 0.9rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-reimprimir-factura) .col-form-label {
    font-size: 0.78rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-reimprimir-factura) .form-control {
    font-size: 0.88rem;
    padding: 0.55rem 0.7rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-reimprimir-factura) .card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-reimprimir-factura) .card-footer .btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    font-size: 0.82rem !important;
    padding: 0.5rem 0.9rem !important;
}
}

@media (max-width: 575.98px) {
:where(.ui-reimprimir-factura) .card-footer .btn {
    flex: 1 1 100%;
}
}

:where(.ui-report-ventas-contado) .modal-content {
    height: 90vh;
}

:where(.ui-report-ventas-contado) .card {
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px;
    margin-top: 0.5rem;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-report-ventas-contado) .card-header {
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
    color: rgb(44, 62, 80);
    background: rgb(248, 249, 252) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-report-ventas-contado) .card-header b {
    font-weight: 600;
}

:where(.ui-report-ventas-contado) .card-body {
    padding: 1.25rem;
}

:where(.ui-report-ventas-contado, .ui-suplidores) .card-footer {
    padding: 0.7rem 1.1rem;
    background: rgb(248, 249, 252) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

:where(.ui-report-ventas-contado) .col-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(90, 104, 114);
    margin-bottom: 0.2rem;
}

:where(.ui-report-ventas-contado) .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-report-ventas-contado) .form-control:focus {
    border-color: rgb(34, 192, 232);
    box-shadow: rgba(34, 192, 232, 0.12) 0px 0px 0px 3px;
}

:where(.ui-report-ventas-contado) select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9aa8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 2rem;
}

:where(.ui-report-ventas-contado) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-report-ventas-contado) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-report-ventas-contado) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-report-ventas-contado) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-report-ventas-contado) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

@media (max-width: 767.98px) {
:where(.ui-report-ventas-contado) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-report-ventas-contado) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-report-ventas-contado) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-report-ventas-contado) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-report-ventas-contado) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-report-ventas-contado) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

:root:where(.ui-reservaciones-reservaciones) {
    --ink: #2a1c12;
    --ink-soft: rgba(224,164,88,0.14);
    --muted: #8a7a6d;
    --muted-soft: #c9b8a8;
    --border: #ecdfd0;
    --border-soft: #f6efe4;
    --surface: #fffdf9;
    --bg-deep: #140f0c; --bg-deep-2: #1f1610;
    --gold: #e0a458;
    --gold-deep: #c07a2e;
    --ember: #e2694a;
    --ember-soft: #f2a98f;
    --success: #4c9a6a;
    --danger: #d64545;
    --grad-warm: linear-gradient(135deg, var(--gold) 0%, var(--ember) 100%);
}

:where(.ui-reservaciones-reservaciones),
:where(.ui-reservaciones-reservaciones) * {
    font-family: Inter, sans-serif;
    box-sizing: border-box;
}

:where(.ui-reservaciones-reservaciones) h1,
:where(.ui-reservaciones-reservaciones) h2,
:where(.ui-reservaciones-reservaciones) h3,
:where(.ui-reservaciones-reservaciones) h4,
:where(.ui-reservaciones-reservaciones) h5,
:where(.ui-reservaciones-reservaciones) h6 {
    font-family: Fraunces, serif;
}

html:where(.ui-reservaciones-reservaciones),
:where(.ui-reservaciones-reservaciones) body {
    height: 100%;
}

:where(.ui-reservaciones-reservaciones) body { position: relative; background: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(224,164,88,0.20), transparent 60%),
                radial-gradient(ellipse 700px 500px at 100% 100%, rgba(226,105,74,0.14), transparent 55%),
                var(--bg-deep); min-height: 100vh; padding: 56px 15px; overflow-x: hidden; }

:where(.ui-reservaciones-reservaciones) #emberCanvas {
    position: fixed;
    inset: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

:where(.ui-reservaciones-reservaciones) .reservation-wrapper {
    max-width: 760px;
    margin: 0px auto;
    position: relative;
    z-index: 2;
}

:where(.ui-reservaciones-reservaciones) .reservation-card {
    background: var(--surface);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: rgba(255, 255, 255, 0.6) 0px 1px 0px inset, rgba(20, 15, 12, 0.55) 0px 30px 70px -20px, rgba(224, 164, 88, 0.06) 0px 0px 0px 1px;
    animation: 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) 0s 1 normal both running cardRise;
}

:where(.ui-reservaciones-reservaciones) .card-header-custom { background: radial-gradient(ellipse 420px 160px at 0% 0%, rgba(224,164,88,0.10), transparent 70%),
                var(--surface); padding: 32px 40px 0px; }

:where(.ui-reservaciones-reservaciones) .card-header-custom .brand-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 6px;
}

:where(.ui-reservaciones-reservaciones) .card-header-custom .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: rgba(224, 164, 88, 0.65) 0px 8px 20px -6px;
    animation: 3.2s ease-in-out 0s infinite normal none running iconGlow;
}

:where(.ui-reservaciones-reservaciones) .card-header-custom .brand-icon i {
    color: rgb(255, 255, 255);
    font-size: 1rem;
}

:where(.ui-reservaciones-reservaciones) .card-header-custom h2 {
    color: var(--ink);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0px;
    letter-spacing: -0.01em;
}

:where(.ui-reservaciones-reservaciones) .card-header-custom p {
    color: var(--muted);
    margin: 0px 0px 26px;
    font-size: 0.88rem;
}

:where(.ui-reservaciones-reservaciones) .steps-indicator {
    display: flex;
    align-items: flex-start;
    padding: 26px 40px 28px;
    border-bottom: 1px solid var(--border-soft);
}

:where(.ui-reservaciones-reservaciones) .step-item {
    flex: 0 0 auto;
    width: 84px;
    text-align: center;
}

:where(.ui-reservaciones-reservaciones) .step-connector {
    flex: 1 1 0%;
    height: 3px;
    margin-top: 20px;
    background: var(--border);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

:where(.ui-reservaciones-reservaciones) .step-connector::after {
    content: "";
    position: absolute;
    inset: 0px;
    width: 0%;
    background: var(--grad-warm);
    transition: width 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

:where(.ui-reservaciones-reservaciones) .step-connector.filled::after {
    width: 100%;
}

:where(.ui-reservaciones-reservaciones) .step-circle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 1.5px solid var(--border);
    margin: 0px auto 8px;
    font-size: 0.85rem;
    color: var(--muted-soft);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
}

:where(.ui-reservaciones-reservaciones) .step-item.active .step-circle {
    border-color: transparent;
    background: var(--grad-warm);
    color: rgb(255, 255, 255);
    box-shadow: 0 0 0 6px var(--ink-soft);
    transform: scale(1.06);
    animation: 2s ease-in-out 0s infinite normal none running pulseStep;
}

:where(.ui-reservaciones-reservaciones) .step-item.completed .step-circle {
    border-color: transparent;
    background: var(--grad-warm);
    color: rgb(255, 255, 255);
}

:where(.ui-reservaciones-reservaciones) .step-icon-default,
:where(.ui-reservaciones-reservaciones) .step-icon-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.25s, transform 0.25s;
}

:where(.ui-reservaciones-reservaciones) .step-icon-check {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
}

:where(.ui-reservaciones-reservaciones) .step-item.completed .step-icon-default {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
}

:where(.ui-reservaciones-reservaciones) .step-item.completed .step-icon-check {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

:where(.ui-reservaciones-reservaciones) .step-item span.step-label {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted-soft);
    transition: color 0.25s;
}

:where(.ui-reservaciones-reservaciones) .step-item.active span.step-label,
:where(.ui-reservaciones-reservaciones) .step-item.completed span.step-label {
    color: var(--ink);
    font-weight: 600;
}

:where(.ui-reservaciones-reservaciones) .card-body-custom {
    padding: 30px 40px 38px;
    position: relative;
}

:where(.ui-reservaciones-reservaciones) .form-step {
    display: none;
    animation: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0s 1 normal none running fadeSlide;
}

:where(.ui-reservaciones-reservaciones) .form-step.active {
    display: block;
}

:where(.ui-reservaciones-reservaciones) .form-label-custom {
    font-weight: 600;
    color: rgb(63, 50, 38);
    font-size: 0.83rem;
    margin-bottom: 6px;
    display: block;
}

:where(.ui-reservaciones-reservaciones) .form-control,
:where(.ui-reservaciones-reservaciones) .form-select {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--ink);
    background: rgb(255, 255, 255);
    transition: border-color 0.15s, box-shadow 0.15s;
}

:where(.ui-reservaciones-reservaciones) .form-control:focus,
:where(.ui-reservaciones-reservaciones) .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3.5px var(--ink-soft);
}

:where(.ui-reservaciones-reservaciones) .form-control::placeholder {
    color: rgb(199, 185, 171);
}

:where(.ui-reservaciones-reservaciones) .form-control[readonly] {
    background: var(--border-soft);
    color: var(--muted);
    cursor: default;
}

:where(.ui-reservaciones-reservaciones) .input-icon-group {
    position: relative;
}

:where(.ui-reservaciones-reservaciones) .input-icon-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-deep);
    font-size: 0.82rem;
    z-index: 5;
    pointer-events: none;
}

:where(.ui-reservaciones-reservaciones) .input-icon-group .form-control {
    padding-left: 38px;
    cursor: pointer;
}

:where(.ui-reservaciones-reservaciones) .time-picker-wrap {
    position: relative;
}

:where(.ui-reservaciones-reservaciones) .time-trigger.filled {
    color: var(--ink);
    font-weight: 600;
    background: rgb(255, 255, 255);
}

:where(.ui-reservaciones-reservaciones) .time-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 0px;
    width: 100%;
    min-width: 280px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: rgba(20, 15, 12, 0.35) 0px 20px 45px -14px;
    padding: 14px;
    z-index: 9;
    display: none;
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 0.18s, transform 0.18s;
}

:where(.ui-reservaciones-reservaciones) .time-popover.open {
    z-index: 999;
    display: block;
    opacity: 1;
    transform: translateY(0px) scale(1);
}

:where(.ui-reservaciones-reservaciones) .time-tabs {
    display: flex;
    gap: 6px;
    background: var(--border-soft);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 12px;
}

:where(.ui-reservaciones-reservaciones) .time-tab {
    flex: 1 1 0%;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    background: transparent;
    padding: 7px 6px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--muted);
    transition: 0.18s;
}

:where(.ui-reservaciones-reservaciones) .time-tab.active {
    background: rgb(255, 255, 255);
    color: var(--ink);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 6px;
}

:where(.ui-reservaciones-reservaciones) .time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 216px;
    overflow-y: auto;
    padding-right: 2px;
}

:where(.ui-reservaciones-reservaciones) .time-grid::-webkit-scrollbar {
    width: 5px;
}

:where(.ui-reservaciones-reservaciones) .time-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 8px;
}

:where(.ui-reservaciones-reservaciones) .time-chip {
    border: 1px solid var(--border);
    background: rgb(255, 255, 255);
    border-radius: 9px;
    padding: 8px 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    transition: 0.15s;
    animation: 0.28s ease 0s 1 normal both running chipIn;
}

:where(.ui-reservaciones-reservaciones) .time-chip:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: rgba(224, 164, 88, 0.55) 0px 6px 14px -6px;
}

:where(.ui-reservaciones-reservaciones) .time-chip.selected {
    background: var(--grad-warm);
    border-color: transparent;
    color: rgb(255, 255, 255);
    box-shadow: rgba(224, 164, 88, 0.65) 0px 6px 16px -4px;
}

:where(.ui-reservaciones-reservaciones) .guest-counter {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

:where(.ui-reservaciones-reservaciones) .guest-counter button {
    background: rgb(255, 255, 255);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    width: 42px;
    height: 42px;
    font-weight: 700;
    color: var(--gold-deep);
    font-size: 0.95rem;
    transition: background 0.15s, transform 0.1s;
}

:where(.ui-reservaciones-reservaciones) .guest-counter button:hover {
    background: var(--border-soft);
}

:where(.ui-reservaciones-reservaciones) .guest-counter button:active {
    transform: scale(0.9);
}

:where(.ui-reservaciones-reservaciones) .guest-counter button:first-child {
    border-right: 1px solid var(--border);
}

:where(.ui-reservaciones-reservaciones) .guest-counter button:last-child {
    border-left: 1px solid var(--border);
}

:where(.ui-reservaciones-reservaciones) .guest-counter input {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    text-align: center;
    font-weight: 700;
    font-size: 0.94rem;
    width: 100%;
    background: transparent;
    color: var(--ink);
    transition: transform 0.15s;
}

:where(.ui-reservaciones-reservaciones) .guest-counter input:focus {
    outline: none;
    box-shadow: none;
}

:where(.ui-reservaciones-reservaciones) .guest-counter.bump input {
    transform: scale(1.18);
}

:where(.ui-reservaciones-reservaciones) .mesa-option {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    height: 100%;
    background: rgb(255, 255, 255);
    position: relative;
    animation: 0.35s ease 0s 1 normal both running chipIn;
}

:where(.ui-reservaciones-reservaciones) .mesa-option:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: rgba(224, 164, 88, 0.45) 0px 12px 24px -10px;
}

:where(.ui-reservaciones-reservaciones) .mesa-option.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

:where(.ui-reservaciones-reservaciones) .mesa-option i {
    font-size: 1.35rem;
    color: var(--gold-deep);
    margin-bottom: 8px;
    display: block;
}

:where(.ui-reservaciones-reservaciones) .mesa-option h6 {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
    font-size: 0.88rem;
}

:where(.ui-reservaciones-reservaciones) .mesa-option small {
    color: var(--muted);
    display: block;
    font-size: 0.74rem;
}

:where(.ui-reservaciones-reservaciones) .mesa-option input[type="radio"] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    accent-color: var(--gold-deep);
}

:where(.ui-reservaciones-reservaciones) .mesa-option.selected {
    border-color: transparent;
    background: linear-gradient(0deg, var(--border-soft), var(--border-soft)), var(--surface);
    box-shadow: 0 0 0 3.5px var(--ink-soft), 0 12px 24px -10px rgba(224,164,88,0.5);
    transform: translateY(-2px) scale(1.015);
}

:where(.ui-reservaciones-reservaciones) .summary-box {
    background: linear-gradient(155deg, rgb(36, 26, 18) 0%, rgb(26, 19, 13) 100%);
    border-radius: 14px;
    padding: 20px 22px;
    color: rgb(255, 255, 255);
    margin-top: 8px;
    border: 1px solid rgba(224, 164, 88, 0.18);
}

:where(.ui-reservaciones-reservaciones) .summary-box h6 {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

:where(.ui-reservaciones-reservaciones) .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:where(.ui-reservaciones-reservaciones) .summary-row:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

:where(.ui-reservaciones-reservaciones) .summary-row span:first-child {
    color: rgb(201, 184, 168);
}

:where(.ui-reservaciones-reservaciones) .summary-row span:last-child {
    font-weight: 700;
}

:where(.ui-reservaciones-reservaciones) .btn-nav {
    padding: 11px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}

:where(.ui-reservaciones-reservaciones) .btn-primary-custom {
    background: var(--grad-warm);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    color: rgb(255, 255, 255);
    transition: filter 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: rgba(224, 164, 88, 0.55) 0px 10px 22px -8px;
}

:where(.ui-reservaciones-reservaciones) .btn-primary-custom:hover {
    filter: brightness(1.06);
    color: rgb(255, 255, 255);
    box-shadow: rgba(226, 105, 74, 0.6) 0px 14px 28px -8px;
    transform: translateY(-1px);
}

:where(.ui-reservaciones-reservaciones) .btn-primary-custom:active {
    transform: scale(0.98);
}

:where(.ui-reservaciones-reservaciones) .btn-primary-custom:disabled {
    opacity: 0.5;
}

:where(.ui-reservaciones-reservaciones) .btn-outline-custom {
    border: 1px solid var(--border);
    color: rgb(107, 92, 77);
    background: rgb(255, 255, 255);
}

:where(.ui-reservaciones-reservaciones) .btn-outline-custom:hover {
    border-color: var(--gold);
    background: var(--border-soft);
    color: var(--ink);
}

:where(.ui-reservaciones-reservaciones) .required-mark {
    color: var(--danger);
}

:where(.ui-reservaciones-reservaciones) .invalid-feedback-custom {
    color: var(--danger);
    font-size: 0.77rem;
    margin-top: 4px;
    display: none;
}

:where(.ui-reservaciones-reservaciones) .is-invalid ~ .invalid-feedback-custom {
    display: block;
}

:where(.ui-reservaciones-reservaciones) .is-invalid {
    border-color: var(--danger) !important;
}

:where(.ui-reservaciones-reservaciones) .success-overlay {
    display: none;
    text-align: center;
    padding: 46px 20px;
}

:where(.ui-reservaciones-reservaciones) .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--grad-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto 20px;
    box-shadow: rgba(224, 164, 88, 0.6) 0px 14px 30px -8px;
    animation: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0s 1 normal none running popIn;
}

:where(.ui-reservaciones-reservaciones) .success-icon i {
    color: rgb(255, 255, 255);
    font-size: 1.9rem;
}

:where(.ui-reservaciones-reservaciones) .error-overlay {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

:where(.ui-reservaciones-reservaciones) .error-overlay ul {
    text-align: left;
    display: inline-block;
    color: var(--danger);
    font-size: 0.87rem;
}

:where(.ui-reservaciones-reservaciones) .spinner-mesas {
    text-align: center;
    padding: 30px;
    color: var(--muted);
}

@media (max-width: 576px) {
:where(.ui-reservaciones-reservaciones) .card-header-custom,
:where(.ui-reservaciones-reservaciones) .card-body-custom,
:where(.ui-reservaciones-reservaciones) .steps-indicator {
    padding-left: 20px;
    padding-right: 20px;
}
}

@media (max-width: 576px) {
:where(.ui-reservaciones-reservaciones) .step-item {
    width: 64px;
}
}

@media (max-width: 576px) {
:where(.ui-reservaciones-reservaciones) .step-item span.step-label {
    font-size: 0.66rem;
}
}

@media (max-width: 576px) {
:where(.ui-reservaciones-reservaciones) .time-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

:where(.ui-reservaciones-reservaciones) .imagen-modal-content {
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
    border-radius: 14px;
    overflow: hidden;
}

:where(.ui-reservaciones-reservaciones) #imagenModal.show .imagen-modal-content {
    transform: scale(1);
    opacity: 1;
}

:where(.ui-reservaciones-reservaciones) .flatpickr-calendar {
    font-family: Inter, sans-serif;
    box-shadow: rgba(9, 9, 11, 0.04) 0px 1px 2px, rgba(20, 15, 12, 0.22) 0px 16px 38px -8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 4px;
}

:where(.ui-reservaciones-reservaciones) .flatpickr-calendar.arrowTop::before,
:where(.ui-reservaciones-reservaciones) .flatpickr-calendar.arrowTop::after {
    display: none;
}

:where(.ui-reservaciones-reservaciones) .flatpickr-months .flatpickr-month {
    color: var(--ink);
    fill: var(--ink);
}

:where(.ui-reservaciones-reservaciones) .flatpickr-current-month {
    font-weight: 700;
    font-size: 0.9rem;
}

:where(.ui-reservaciones-reservaciones) .flatpickr-weekdays {
    background: rgb(255, 255, 255);
}

:where(.ui-reservaciones-reservaciones) span.flatpickr-weekday {
    color: var(--muted-soft);
    font-weight: 600;
    font-size: 0.72rem;
}

:where(.ui-reservaciones-reservaciones) .flatpickr-day {
    border-radius: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.84rem;
}

:where(.ui-reservaciones-reservaciones) .flatpickr-day.today {
    border-color: var(--gold);
}

:where(.ui-reservaciones-reservaciones) .flatpickr-day:hover {
    background: var(--border-soft);
}

:where(.ui-reservaciones-reservaciones) .flatpickr-day.selected,
:where(.ui-reservaciones-reservaciones) .flatpickr-day.selected:hover {
    background: var(--grad-warm);
    border-color: transparent;
    color: rgb(255, 255, 255);
}

:where(.ui-reservaciones-reservaciones) .flatpickr-day.flatpickr-disabled,
:where(.ui-reservaciones-reservaciones) .flatpickr-day.prevMonthDay,
:where(.ui-reservaciones-reservaciones) .flatpickr-day.nextMonthDay {
    color: rgb(226, 214, 200);
}

@media (prefers-reduced-motion: reduce) {
:where(.ui-reservaciones-reservaciones),
:where(.ui-reservaciones-reservaciones) *,
:where(.ui-reservaciones-reservaciones) ::before,
:where(.ui-reservaciones-reservaciones) ::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
}
}

:root:where(.ui-reservaciones-solicitud) {
    --sr-primary: #22c0e8;
    --sr-primary-dark: #1a2035;
    --sr-radius-lg: 16px;
    --sr-radius-md: 12px;
    --sr-shadow: 0 2px 12px rgba(0,0,0,.06);
    --sr-shadow-hover: 0 6px 24px rgba(0,0,0,.10);
}

:where(.ui-reservaciones-solicitud) .card {
    border-radius: var(--sr-radius-lg);
    box-shadow: var(--sr-shadow);
    margin-bottom: 1rem;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-reservaciones-solicitud) .card-header {
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    color: rgb(44, 62, 80);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(248, 249, 252) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: var(--sr-radius-lg) var(--sr-radius-lg) 0 0 !important;
}

:where(.ui-reservaciones-solicitud) .card-header .header-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

:where(.ui-reservaciones-solicitud) .card-header .header-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(34, 192, 232, 0.12);
    color: var(--sr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

:where(.ui-reservaciones-solicitud) .card-header .header-icon.warning {
    background: rgba(255, 193, 7, 0.15);
    color: rgb(183, 129, 3);
}

:where(.ui-reservaciones-solicitud) .card-body {
    padding: 1.25rem;
}

:where(.ui-reservaciones-solicitud) #badge-count,
:where(.ui-reservaciones-solicitud) #badge-reservadas {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

:where(.ui-reservaciones-solicitud) .reserva-card {
    background: rgb(255, 255, 255);
    border-radius: var(--sr-radius-lg);
    border: 1px solid rgb(237, 240, 243);
    overflow: hidden;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    box-shadow: var(--sr-shadow);
    transition: box-shadow 0.25s, transform 0.25s;
}

:where(.ui-reservaciones-solicitud) .reserva-card:hover {
    box-shadow: var(--sr-shadow-hover);
    transform: translateY(-2px);
}

:where(.ui-reservaciones-solicitud) .reserva-header {
    padding: 1rem 1rem 0.6rem;
    border-bottom: 1px solid rgb(242, 244, 246);
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

:where(.ui-reservaciones-solicitud) .reserva-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sr-primary), #1789a8);
    color: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.ui-reservaciones-solicitud) .reserva-header-text {
    flex-grow: 1;
    min-width: 0px;
}

:where(.ui-reservaciones-solicitud) .reserva-cliente {
    font-size: 1rem;
    font-weight: 700;
    color: rgb(26, 26, 26);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

:where(.ui-reservaciones-solicitud) .reserva-mesa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgb(232, 246, 252);
    color: rgb(15, 126, 163);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 2px;
}

:where(.ui-reservaciones-solicitud) .reserva-body {
    padding: 0.75rem 1rem;
    flex-grow: 1;
}

:where(.ui-reservaciones-solicitud) .reserva-info {
    font-size: 0.82rem;
    color: rgb(90, 104, 114);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

:where(.ui-reservaciones-solicitud) .reserva-info strong {
    color: rgb(44, 62, 80);
    font-weight: 600;
}

:where(.ui-reservaciones-solicitud) .reserva-info i {
    width: 16px;
    text-align: center;
    color: rgb(176, 190, 200);
}

:where(.ui-reservaciones-solicitud) .reserva-nota {
    background: rgb(255, 251, 234);
    border-top: 1px solid rgb(253, 236, 200);
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    color: rgb(107, 81, 22);
}

:where(.ui-reservaciones-solicitud) .reserva-nota small {
    color: rgb(183, 129, 3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.68rem;
}

:where(.ui-reservaciones-solicitud) .reserva-actions {
    display: flex;
    border-top: 1px solid rgb(240, 242, 244);
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-action {
    flex: 1 1 0%;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.85rem 0.4rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-aprobar {
    background: rgb(234, 250, 240);
    color: rgb(30, 142, 79);
    border-right: 1px solid rgb(240, 242, 244);
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-aprobar:hover {
    background: rgb(211, 243, 224);
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-cancelar {
    background: rgb(253, 237, 236);
    color: rgb(192, 57, 43);
    border-right: 1px solid rgb(240, 242, 244);
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-cancelar:hover {
    background: rgb(250, 217, 214);
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-detalle {
    background: rgb(234, 247, 252);
    color: rgb(15, 126, 163);
}

:where(.ui-reservaciones-solicitud) .reserva-actions .btn-detalle:hover {
    background: rgb(211, 237, 247);
}

:where(.ui-reservaciones-solicitud) #content-reservadas .reserva-card {
    border-color: rgb(255, 230, 163);
}

:where(.ui-reservaciones-solicitud) #content-reservadas .reserva-header {
    background: rgb(255, 250, 240);
}

:where(.ui-reservaciones-solicitud) #content-reservadas .reserva-avatar {
    background: linear-gradient(135deg, rgb(255, 179, 0), rgb(224, 142, 0));
}

:where(.ui-reservaciones-solicitud) .badge-reservada-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    background: rgb(255, 243, 205);
    color: rgb(146, 112, 10);
}

:where(.ui-reservaciones-solicitud) .btn-liberar {
    flex: 1 1 0%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: background 0.2s;
    background: rgb(255, 243, 224) !important;
    color: rgb(181, 106, 0) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    padding: 0.75rem !important;
    font-weight: 600 !important;
    font-size: 0.76rem !important;
}

:where(.ui-reservaciones-solicitud) .btn-liberar:hover {
    background: rgb(255, 230, 194) !important;
}

:where(.ui-reservaciones-solicitud) .alert.text-center {
    border: 1px dashed rgb(223, 228, 234);
    background: rgb(251, 252, 254);
    border-radius: var(--sr-radius-md);
    color: rgb(108, 117, 125);
}

:where(.ui-reservaciones-solicitud) .alert.text-center i {
    color: rgb(176, 190, 200);
}

:where(.ui-reservaciones-solicitud) .alert-success.text-center {
    border-color: rgb(205, 238, 221);
    background: rgb(243, 252, 247);
}

:where(.ui-reservaciones-solicitud) .alert-success.text-center i {
    color: rgb(52, 200, 118);
}

:where(.ui-reservaciones-solicitud) .modal-content {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: var(--sr-radius-lg);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 32px;
}

:where(.ui-reservaciones-solicitud) .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--sr-radius-lg) var(--sr-radius-lg) 0 0;
    background: rgb(248, 249, 252);
}

:where(.ui-reservaciones-solicitud) .modal-body .badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
}

@media (max-width: 576px) {
:where(.ui-reservaciones-solicitud) .reserva-cliente {
    font-size: 0.92rem;
}
}

@media (max-width: 576px) {
:where(.ui-reservaciones-solicitud) .reserva-actions .btn-action,
:where(.ui-reservaciones-solicitud) .btn-liberar {
    font-size: 0.7rem;
    padding: 0.6rem 0.3rem !important;
}
}

:where(.ui-suplidores) .col-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(90, 104, 114);
    margin-bottom: 0.2rem;
    padding-bottom: 0px;
}

:where(.ui-suplidores) .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

:where(.ui-suplidores) .form-control:focus {
    border-color: rgb(34, 192, 232);
    box-shadow: rgba(34, 192, 232, 0.12) 0px 0px 0px 3px;
}

:where(.ui-suplidores) .form-control:disabled {
    background: rgb(248, 249, 252);
    border-color: rgba(0, 0, 0, 0.04);
    color: rgb(108, 117, 125);
}

:where(.ui-suplidores) .input-group-sm .form-control {
    border-radius: 8px;
}

:where(.ui-suplidores) .input-group-sm .input-group-text {
    border-radius: 8px;
}

:where(.ui-suplidores) textarea.form-control {
    border-radius: 10px;
    resize: vertical;
}

:where(.ui-suplidores) select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9aa8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 2rem;
}

:where(.ui-suplidores) select.form-control:focus {
    border-color: rgb(34, 192, 232);
}

:where(.ui-suplidores) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-suplidores) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-suplidores) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-suplidores) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-suplidores) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

:where(.ui-suplidores) .btn-outline-primary {
    border: 1px solid rgba(34, 192, 232, 0.3) !important;
    color: rgb(34, 192, 232) !important;
    background: transparent !important;
}

:where(.ui-suplidores) .btn-outline-primary:hover {
    background: rgba(34, 192, 232, 0.08) !important;
    border-color: rgb(34, 192, 232) !important;
    color: rgb(34, 192, 232) !important;
}

:where(.ui-suplidores, .ui-user) .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 4px;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    background: rgb(255, 255, 255);
    cursor: pointer;
    transition: 0.2s;
    margin-top: 0.25rem;
    appearance: none;
    position: relative;
}

:where(.ui-suplidores, .ui-user) .form-check-input:checked {
    background: rgb(34, 192, 232);
    border-color: rgb(34, 192, 232);
}

:where(.ui-suplidores, .ui-user) .form-check-input:focus {
    box-shadow: rgba(34, 192, 232, 0.15) 0px 0px 0px 3px;
    border-color: rgb(34, 192, 232);
}

:where(.ui-suplidores) .form-check-label {
    font-size: 0.85rem;
    color: rgb(44, 62, 80);
    padding-left: 0.3rem;
}

:where(.ui-suplidores) .modal-content {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 32px;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    border-radius: 16px !important;
}

:where(.ui-suplidores) .modal-header {
    background: rgb(248, 249, 252);
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-suplidores) .modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(44, 62, 80);
}

:where(.ui-suplidores) .modal-header .close {
    font-size: 1.3rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

:where(.ui-suplidores) .modal-header .close:hover {
    opacity: 0.8;
}

:where(.ui-suplidores) .modal-body {
    padding: 1.1rem;
}

:where(.ui-suplidores) .modal-footer {
    padding: 0.75rem 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

@media (max-width: 767.98px) {
:where(.ui-suplidores) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-suplidores) .card-header {
    padding: 0.55rem 0.85rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-suplidores) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-suplidores) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-suplidores) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-suplidores) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .modal-content {
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .modal-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .modal-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .form-check-input {
    width: 1rem;
    height: 1rem;
}
}

@media (max-width: 576px) {
:where(.ui-suplidores) .form-check-input:checked::after {
    left: 3px;
    top: 0px;
    width: 4px;
    height: 8px;
}
}

:where(.ui-user) .form-check-label {
    font-size: 0.82rem;
    color: rgb(44, 62, 80);
    padding-left: 0.3rem;
}

:where(.ui-user) .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 14px !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-user) .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

:where(.ui-user) .btn-primary {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-user) .btn-secondary {
    background: rgb(232, 236, 244) !important;
    color: rgb(90, 104, 114) !important;
}

:where(.ui-user) .btn-success {
    background: rgb(34, 192, 232) !important;
}

:where(.ui-user) .btn-sm {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.7rem !important;
    border-radius: 12px !important;
}

:where(.ui-user) .modal-content {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 32px;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    border-radius: 16px !important;
}

:where(.ui-user) .modal-header {
    background: rgb(248, 249, 252);
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px 16px 0px 0px !important;
}

:where(.ui-user) .modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(44, 62, 80);
}

:where(.ui-user) .modal-header .close {
    font-size: 1.3rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

:where(.ui-user) .modal-header .close:hover {
    opacity: 0.8;
}

:where(.ui-user) .modal-body {
    padding: 1.1rem;
}

:where(.ui-user) .modal-footer {
    padding: 0.75rem 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px 0px 16px 16px !important;
}

@media (max-width: 767.98px) {
:where(.ui-user) .card-body {
    padding: 1rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-user) .col-form-label {
    font-size: 0.74rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-user) .form-control {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-user) .btn {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-user) .btn-sm {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .card {
    border-radius: 12px;
}
}

@media (max-width: 576px) {
:where(.ui-user) .card-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .card-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .card-body {
    padding: 0.85rem;
}
}

@media (max-width: 576px) {
:where(.ui-user) .col-form-label {
    font-size: 0.7rem;
}
}

@media (max-width: 576px) {
:where(.ui-user) .form-control {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}
}

@media (max-width: 576px) {
:where(.ui-user) .btn {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .btn-sm {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.45rem !important;
    border-radius: 10px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .modal-content {
    border-radius: 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .modal-header {
    border-radius: 12px 12px 0px 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .modal-footer {
    border-radius: 0px 0px 12px 12px !important;
}
}

@media (max-width: 576px) {
:where(.ui-user) .form-check-input {
    width: 1rem;
    height: 1rem;
}
}

@media (max-width: 576px) {
:where(.ui-user) .form-check-input:checked::after {
    left: 3px;
    top: 0px;
    width: 4px;
    height: 8px;
}
}

/* 2. ESTRUCTURA GENERAL Y CENTRO DE AYUDA. */
:where(.ui-shell) #help-fab {
    position: fixed;
    bottom: 55px;
    right: 10px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(26, 32, 53) 0%, rgb(42, 52, 73) 100%);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(212, 168, 83);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    user-select: none;
    border: 2px solid rgba(212, 168, 83, 0.3);
}

:where(.ui-shell) #help-fab:hover {
    transform: scale(1.08);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 6px 20px;
    border-color: rgba(212, 168, 83, 0.6);
}

:where(.ui-shell) #help-fab:active {
    transform: scale(0.95);
}

:where(.ui-shell) #help-menu {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 9998;
    background: rgb(255, 255, 255);
    border-radius: 14px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 30px;
    padding: 6px 0px;
    min-width: 240px;
    max-width: 300px;
    overflow: hidden;
    animation: 0.2s ease 0s 1 normal none running helpFadeIn;
}

:where(.ui-shell) #help-menu .help-menu-title {
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgb(138, 154, 168);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

:where(.ui-shell) .help-menu-item {
    padding: 10px 16px;
    font-size: 0.84rem;
    color: rgb(44, 62, 80);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}

:where(.ui-shell) .help-menu-item:hover {
    background: rgb(240, 242, 246);
}

:where(.ui-shell) .help-menu-item .hm-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgb(240, 242, 246);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

:where(.ui-shell) .app-header.navbar {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 8px;
    height: 56px;
    padding: 0px 1rem;
    background: rgb(26, 32, 53) !important;
    border-bottom-width: medium !important;
    border-bottom-style: none !important;
    border-bottom-color: currentcolor !important;
}

:where(.ui-shell) .app-header .navbar-brand {
    padding: 0px 1rem 0px 0.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

:where(.ui-shell) .app-header .navbar-brand img {
    border-radius: 16px;
    filter: none;
    opacity: 1;
    transition: opacity 0.2s;
}

:where(.ui-shell) .app-header .navbar-brand:hover img {
    opacity: 1;
}

:where(.ui-shell) .app-header .navbar-toggler {
    padding: 0.25rem;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
}

:where(.ui-shell) .app-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

:where(.ui-shell) .app-header .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    color: rgba(255, 255, 255, 0.65) !important;
    padding: 0.4rem 0.6rem !important;
}

:where(.ui-shell) .app-header .nav-link:hover {
    color: rgb(255, 255, 255) !important;
}

:where(.ui-shell) .nb-action-btns {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

:where(.ui-shell) .nb-action-btns .btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 14px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.7rem !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    transition: 0.2s !important;
    box-shadow: none !important;
}

:where(.ui-shell) .nb-action-btns .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}

:where(.ui-shell) .nb-action-btns .btn-success {
    background: rgb(30, 142, 62) !important;
}

:where(.ui-shell) .nb-action-btns .btn-danger {
    background: rgb(198, 40, 40) !important;
}

:where(.ui-shell) .nb-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(255, 255, 255, 0.85);
}

:where(.ui-shell) .nb-status-dot.on {
    animation: 2s ease 0s infinite normal none running pulse-dot;
}

:where(.ui-shell) .nb-logout-link {
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: 0.2s !important;
    display: flex !important;
}

:where(.ui-shell) .nb-logout-link:hover {
    background: rgba(220, 53, 69, 0.15) !important;
    border-color: rgba(220, 53, 69, 0.4) !important;
    color: rgb(255, 128, 128) !important;
}

:where(.ui-shell) .sidebar {
    background: rgb(26, 32, 53) !important;
}

:where(.ui-shell) .sidebar-minimizer {
    background-color: rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

:where(.ui-shell) .sidebar-minimizer:hover {
    background-color: rgba(0, 0, 0, 0.25) !important;
}

:where(.ui-shell) .sidebar .nav-title {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 1rem 0.25rem;
    font-weight: 600;
}

:where(.ui-shell) .sidebar .nav-link {
    border-left: 2px solid transparent;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
    font-size: 0.84rem;
    padding: 0.6rem 1rem !important;
    background: transparent !important;
}

:where(.ui-shell) .sidebar .nav-link .nav-icon {
    transition: color 0.2s;
    color: rgba(255, 255, 255, 0.3) !important;
}

:where(.ui-shell) .sidebar .nav-link.active {
    font-weight: 600;
    box-shadow: rgba(74, 88, 117, 0.15) 0px 0px 12px inset;
    color: rgb(255, 255, 255) !important;
    background: linear-gradient(135deg, rgba(74, 88, 117, 0.35) 0%, rgba(74, 88, 117, 0.04) 100%) !important;
    border-left: 3px solid rgb(74, 88, 117) !important;
}

:where(.ui-shell) .sidebar .nav-link.active .nav-icon {
    color: rgb(138, 149, 171) !important;
}

:where(.ui-shell) .sidebar .nav-link:hover .nav-icon {
    color: rgb(183, 192, 212) !important;
}

:where(.ui-shell) .sidebar .nav-item:hover {
    background-color: rgb(65, 172, 255);
}

:where(.ui-shell) .sidebar .nav-dropdown.open > .nav-dropdown-toggle {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

:where(.ui-shell) .sidebar .nav-dropdown.open > .nav-dropdown-toggle .nav-icon {  }

:where(.ui-shell) .sidebar .nav-link:hover.nav-dropdown-toggle::before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E");
}

:where(.ui-shell) .sidebar .nav-dropdown.open {
    background: none;
}

:where(.ui-shell) .sidebar .nav-dropdown.open > .nav-dropdown-items {
    background: rgb(87, 86, 86);
}

:where(.ui-shell) .sidebar .nav-dropdown-toggle::before {
    filter: brightness(0) invert(0.35);
}

:where(.ui-shell) .sidebar .nav-dropdown.open > .nav-dropdown-toggle::before {  }

:where(.ui-shell) .app-footer {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    background: rgb(26, 32, 53) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

:where(.ui-shell) .app-footer a {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    color: rgb(212, 168, 83) !important;
}

:where(.ui-shell) .app-footer a:hover {
    color: rgb(255, 255, 255) !important;
}

:where(.ui-shell) .app-footer .footer-business {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.65rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
}

:where(.ui-shell) .app-footer .footer-business i {
    color: rgb(212, 168, 83);
}

:where(.ui-shell) .modal-header-dark {
    background: rgb(26, 32, 53);
    border-radius: 14px 14px 0px 0px;
    color: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 767.98px) {
:where(.ui-shell) .app-header.navbar {
    padding: 0px 0.55rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-shell) .nb-action-btns {
    gap: 0.25rem;
}
}

@media (max-width: 767.98px) {
:where(.ui-shell) .nb-action-btns .btn {
    padding: 0.22rem 0.5rem !important;
    font-size: 0.7rem !important;
}
}

@media (max-width: 767.98px) {
:where(.ui-shell) .nb-logout-link {
    padding: 0.22rem 0.45rem !important;
    font-size: 0.74rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header.navbar {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.3rem;
    display: flex !important;
    height: auto !important;
    padding: 0.4rem 0.55rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header .navbar-brand,
:where(.ui-shell) .app-header .navbar-toggler.d-md-down-none {
    display: none !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header .navbar-toggler.sidebar-toggler.d-lg-none {
    flex-shrink: 0;
    margin: 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header ul.nav.navbar-nav.d-md-down-none.mr-auto {
    flex-direction: row;
    align-items: center;
    display: flex !important;
    margin: 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header ul.nav.navbar-nav.d-md-down-none.mr-auto .nav-link {
    font-size: 0px;
    line-height: 0;
    padding: 0.2rem 0.25rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header ul.nav.navbar-nav.d-md-down-none.mr-auto .nav-link i {
    font-size: 0.85rem;
    line-height: 1;
    margin-right: 0px;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .nb-action-btns {
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1 1 auto;
    min-width: 0px;
    display: flex !important;
    margin: 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .nb-action-btns .btn {
    white-space: nowrap;
    padding: 0.22rem 0.4rem !important;
    font-size: 0.66rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .app-header ul.nav.navbar-nav.mr-2 {
    flex-shrink: 0;
    margin: 0px !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .nb-logout-link {
    font-size: 0px;
    line-height: 0;
    padding: 0.22rem 0.4rem !important;
}
}

@media (max-width: 576px) {
:where(.ui-shell) .nb-logout-link i {
    font-size: 0.82rem;
    line-height: 1;
}
}

:where(.ui-shell) select.form-control {
    height: 30px !important;
}

:where(.ui-shell) input.form-control {
    height: 30px !important;
}

:where(.ui-shell) #help-menu.help-center {
    position: fixed;
    right: 22px;
    bottom: 90px;
    width: 420px;
    max-width: calc(-24px + 100vw);
    max-height: calc(-115px + 100vh);
    padding: 0px;
    background: rgb(255, 255, 255);
    color: rgb(38, 52, 69);
    border: 1px solid rgb(220, 228, 236);
    border-radius: 18px;
    box-shadow: rgba(24, 41, 60, 0.2) 0px 12px 45px;
    z-index: 1050;
    overflow: auto;
    text-align: left;
}

:where(.ui-shell) .help-center .hc-header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgb(23, 51, 74);
    color: rgb(255, 255, 255);
    border-radius: 17px 17px 0px 0px;
}

:where(.ui-shell) .hc-header strong {
    font-size: 19px;
}

:where(.ui-shell) .hc-header p {
    margin: 5px 0px 0px;
    font-size: 13px;
}

:where(.ui-shell) .help-center button {
    cursor: pointer;
}

:where(.ui-shell) .hc-close {
    border: 0px;
    background: transparent;
    color: rgb(255, 255, 255);
    font-size: 28px;
    align-self: flex-start;
    line-height: 1;
}

:where(.ui-shell) .hc-controls {
    padding: 16px 18px 4px;
}

:where(.ui-shell) .hc-controls label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 0px 0px 6px;
}

:where(.ui-shell) .hc-controls input,
:where(.ui-shell) .hc-controls select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(197, 208, 219);
    border-radius: 8px;
    margin-bottom: 12px;
    background: white;
    color: rgb(38, 52, 69);
    font-size: 14px;
}

:where(.ui-shell) .hc-status {
    padding: 8px 18px;
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid rgb(253, 214, 214);
    border-radius: 0.25rem;
    color: rgb(129, 56, 56);
    background-color: rgb(254, 226, 225);
    font-size: 16px;
}

:where(.ui-shell) .hc-results {
    padding: 0px 18px 18px;
}

:where(.ui-shell) .hc-section h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0px 10px;
}

:where(.ui-shell) .hc-tour,
:where(.ui-shell) .hc-show {
    border: 1px solid rgb(185, 213, 218);
    border-radius: 7px;
    background: rgb(238, 248, 250);
    color: rgb(20, 98, 116);
    padding: 8px 12px;
    font-size: 13px;
}

:where(.ui-shell) .hc-tour {
    width: 100%;
    margin-bottom: 10px;
}

:where(.ui-shell) .hc-question {
    border-bottom: 1px solid rgb(229, 235, 240);
    padding: 12px 0px;
}

:where(.ui-shell) .hc-question summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

:where(.ui-shell) .hc-question p {
    font-size: 14px;
    line-height: 1.65;
    margin: 10px 0px;
    color: rgb(67, 84, 103);
}

:where(.ui-shell) .help-center :focus-visible,
:where(.ui-shell) #help-fab:focus-visible {
    outline: rgb(22, 139, 168) solid 3px;
    outline-offset: 3px;
}

@media (max-width: 480px) {
:where(.ui-shell) #help-menu.help-center {
    right: 12px;
    bottom: 80px;
    max-height: calc(100dvh - 100px);
    width: calc(-24px + 100vw);
}
}

:where(.ui-shell) .help-center .hc-source {
    display: block;
    font-size: 12px;
    margin: 10px 0px;
    color: rgb(20, 98, 116);
    text-decoration: underline;
}

:where(.ui-shell) #help-fab {
    width: 68px;
    height: 68px;
    background: linear-gradient(145deg, rgb(255, 255, 255), rgb(227, 246, 251));
    border: 2px solid rgb(166, 225, 235);
    box-shadow: rgba(21, 62, 84, 0.19) 0px 5px 18px;
}

:where(.ui-shell) #help-fab:hover {
    border-color: rgb(32, 169, 189);
    box-shadow: rgba(21, 62, 84, 0.25) 0px 7px 24px;
}

:where(.ui-shell) .help-robot {
    width: 66px;
    height: 66px;
    overflow: visible;
    pointer-events: none;
}

:where(.ui-shell) .robot-body {
    transform-origin: 40px 55px;
    animation: 3s ease-in-out 0s infinite normal none running robot-float;
}

:where(.ui-shell) .robot-eyes {
    transform-box: fill-box;
    transform-origin: center center;
    animation: 5s ease 0s infinite normal none running robot-blink;
}

:where(.ui-shell) .robot-sleep-eyes,
:where(.ui-shell) .robot-zzz {
    opacity: 0;
}

:where(.ui-shell) .robot-sleeping .robot-body {
    animation: 3s ease-in-out 0s infinite normal none running robot-breathe;
}

:where(.ui-shell) .robot-sleeping .robot-eyes {
    opacity: 0;
    animation: auto ease 0s 1 normal none running none;
}

:where(.ui-shell) .robot-sleeping .robot-sleep-eyes {
    opacity: 1;
}

:where(.ui-shell) .robot-sleeping .robot-zzz {
    animation: 2.5s ease-in-out 0s infinite normal none running robot-dream;
}

:where(.ui-shell) .robot-sleeping .robot-antenna {
    fill: rgb(161, 197, 206);
}

:where(.ui-shell) .robot-waking .robot-body {
    animation: 0.65s ease-out 0s 1 normal none running robot-wake;
}

@media (prefers-reduced-motion: reduce) {
:where(.ui-shell) .help-robot * {
    animation: auto ease 0s 1 normal none running none !important;
}
}

@media (prefers-reduced-motion: reduce) {
:where(.ui-shell) #help-fab {
    transition: none;
}
}

@media (prefers-reduced-motion: reduce) {
:where(.ui-shell) #help-fab.robot-sleeping .robot-zzz {
    opacity: 1;
}
}

:where(.ui-shell) #help-menu.help-center {
    bottom: 135px;
    max-height: calc(-155px + 100vh);
}

/* 3. INICIO Y COMPONENTE TIMELINE. */
:where(.ui-home) .card {
    border-radius: 16px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

:where(.ui-home) .card:hover {
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 24px;
}

:where(.ui-home) .card-header {
    padding: 1rem 1.25rem 0.75rem;
    margin-bottom: 0px;
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-weight: 600;
    font-size: 0.95rem;
}

:where(.ui-home) .card.bg-primary,
:where(.ui-home) .card.bg-info,
:where(.ui-home) .card.bg-warning,
:where(.ui-home) .card.bg-success {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 24px;
}

:where(.ui-home) .card.bg-primary:hover,
:where(.ui-home) .card.bg-info:hover,
:where(.ui-home) .card.bg-warning:hover,
:where(.ui-home) .card.bg-success:hover {
    box-shadow: rgba(0, 0, 0, 0.28) 0px 8px 32px;
}

:where(.ui-timeline) ul.timeline {
    list-style-type: none;
    position: relative;
}

:where(.ui-timeline) ul.timeline::before {
    content: " ";
    background: rgb(212, 217, 223);
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

:where(.ui-timeline) ul.timeline > li {
    margin: 20px 0px;
    padding-left: 20px;
}

:where(.ui-timeline) ul.timeline > li::before {
    content: " ";
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgb(34, 192, 232);
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

/* 4. ANIMACIONES COMPARTIDAS. */
@keyframes floatUp {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
}
  10% {
    opacity: 1;
}
  90% {
    opacity: 1;
}
  100% {
    transform: translateY(-110vh) rotate(25deg);
    opacity: 0;
}
}

@keyframes blink {
  50% {
    opacity: 0;
}
}

@keyframes helpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
}
  100% {
    opacity: 1;
    transform: translateY(0px);
}
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
}
  50% {
    opacity: 0.5;
    transform: scale(1.5);
}
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
}
  100% {
    opacity: 1;
    transform: translateY(0px);
}
}

@keyframes cardRise {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
}
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
}
}

@keyframes iconGlow {
  0%, 100% {
    box-shadow: rgba(224, 164, 88, 0.55) 0px 8px 20px -6px;
}
  50% {
    box-shadow: rgba(226, 105, 74, 0.75) 0px 10px 26px -4px;
}
}

@keyframes pulseStep {
  0%, 100% {
    box-shadow: 0 0 0 6px var(--ink-soft);
}
  50% {
    box-shadow: rgba(224, 164, 88, 0.2) 0px 0px 0px 9px;
}
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
}
  100% {
    opacity: 1;
    transform: translateY(0px);
}
}

@keyframes chipIn {
  0% {
    opacity: 0;
    transform: translateY(4px);
}
  100% {
    opacity: 1;
    transform: translateY(0px);
}
}

@keyframes popIn {
  0% {
    transform: scale(0);
}
  70% {
    transform: scale(1.12);
}
  100% {
    transform: scale(1);
}
}

@keyframes robot-float {
  0%, 100% {
    transform: translateY(0px);
}
  50% {
    transform: translateY(-3px);
}
}

@keyframes robot-blink {
  0%, 42%, 46%, 100% {
    transform: scaleY(1);
}
  44% {
    transform: scaleY(0.12);
}
}

@keyframes robot-breathe {
  0%, 100% {
    transform: translateY(2px) rotate(-7deg);
}
  50% {
    transform: translateY(3px) rotate(-7deg) scale(0.97);
}
}

@keyframes robot-dream {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(2px);
}
  50% {
    opacity: 1;
    transform: translateY(-3px);
}
}

@keyframes robot-wake {
  0% {
    transform: translateY(2px) rotate(-7deg);
}
  45% {
    transform: translateY(-7px) rotate(5deg);
}
  75% {
    transform: rotate(-3deg);
}
  100% {
    transform: translateY(0px);
}
}

/* Visor PDF reutilizable para reportes. */
/* Visor compartido: apariencia independiente del perfil CSS de cada pantalla. */
.ui-report-modal .modal-dialog { width: 90vw; max-width: 90vw; height: 90vh; margin: 2vh auto; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5; color: #2c3e50; }
.ui-report-modal .modal-content { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: none !important; border-radius: 16px !important; box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.ui-report-modal .modal-header { flex-shrink: 0; background: #f8f9fc; color: #2c3e50; padding: .85rem 1.1rem; border-bottom: 1px solid rgba(0,0,0,.04) !important; border-radius: 16px 16px 0 0 !important; }
.ui-report-modal .modal-header .modal-title { margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.5; color: #2c3e50; }
.ui-report-modal .modal-header .close { color: #2c3e50; font-size: 1.3rem; font-weight: 700; line-height: 1; opacity: .5; text-shadow: none; padding: 1rem; margin: -1rem -1rem -1rem auto; }
.ui-report-modal .modal-header .close:hover { opacity: .8; }
.ui-report-modal .modal-body { flex: 1; min-height: 0; padding: 0; text-align: center; background: #fff; }
.ui-report-modal .modal-footer { flex-shrink: 0; background: #f8f9fc; padding: .75rem 1.1rem; border-top: 1px solid rgba(0,0,0,.04) !important; border-radius: 0 0 16px 16px !important; }
.ui-report-modal .modal-footer .btn { background: #edf2f7 !important; color: #2c3e50 !important; border: 1px solid transparent !important; border-radius: 8px !important; padding: .375rem .75rem !important; font-size: .875rem !important; font-weight: 400 !important; line-height: 1.5 !important; box-shadow: none !important; transform: none !important; }
.ui-report-modal iframe { border: 0; display: block; }


/* Tarjetas de resumen y estados reutilizables. */
.ui-summary-action { width: 100%; text-align: left; color: inherit; cursor: pointer; font: inherit; }
.ui-summary-action:hover, .ui-summary-action:focus { border-color: #00acc1; box-shadow: 0 0 0 2px rgba(0,172,193,.12); }
.ui-status-badge { padding: .4em .75em; font-weight: 600; }
.ui-status-success { background: #d9fbed; color: #08764b; }
.ui-status-danger { background: #fde5e9; color: #a52239; }

.ui-detail-modal .modal-dialog { width: 90vw; max-width: 1200px; }

.ui-detail-modal .modal-content { max-height: 94vh; display: flex; flex-direction: column; }
.ui-detail-modal .modal-header, .ui-detail-modal .modal-footer { flex-shrink: 0; }
.ui-detail-modal .modal-body { min-height: 0; overflow-y: auto; }

/* Resumen vertical de importes reutilizable. */
.ui-totals-list { width: 300px; max-width: 100%; margin-bottom: 1rem; }
.ui-totals-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .35rem .5rem; border-bottom: 1px solid #e3e6eb; }
.ui-totals-row dt, .ui-totals-row dd { margin: 0; }
.ui-totals-row dd { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ui-totals-grand { font-weight: 700; border-top: 1px solid #cbd2dc; border-bottom: 0; }

/* Icono reutilizable para encabezados de seccion. */
.gm-section-title .ui-section-icon,
.totales-box .ui-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 19px;
    line-height: 1;
    color: #008fa8;
    background: #e3f5f8;
    border-radius: 10px;
    opacity: 1;
}

