:root {
    --theme-default: #b03090;
    --theme-secondary: #427c9f;
    --theme-terciary: #2e3d61;
}

:root .dark-only {
    --theme-default: #2a6487;
    --theme-secondary: #8b126d;
    --theme-terciary: #243064;
}

input.form-control.ui-autocomplete-input {
    background-image: url(https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/search.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 30px;
    border-color: var(--theme-secondary) !important;
}

.page-wrapper .page-body-wrapper .page-title {
    margin: 0 -27px 30px;
    padding: 9px 16px 4px;
    background-image: linear-gradient(to right, #c66ab061, #aac4d4);
}

body.dark-only .page-wrapper .page-body-wrapper .page-title {
    background-color: #171818;
    background-image: linear-gradient(to right, #502f4861, #1f212369);
}

.card h3 {
    padding: 10px 0px;
}

.simplebar-mask {
    top: 64px !important;
}

.close_icon .simplebar-mask {
    top: 64px !important;
}

.close_icon .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .simplebar-content {
    justify-self: center;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper.close_icon {
    width: 70px;
}

.panelDashVista {
    min-height: 45px !important;
}

.stat-card.panelDashVista {
    min-height: 0 !important;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M4 6l4 4 4-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 30px;
    border-color: var(--theme-secondary) !important;
}

.page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item {
    color: var(--theme-default);
}

.page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item+.breadcrumb-item:before {
    color: var(--theme-default);
}

input#user_imagen {
    width: 100%;
}

.cantPaginasPagination {
    padding-left: 20px;
    font-weight: bold;
}

.iso-wrapper img {
    height: 36px;
}

ul.sidebar-submenu a {
    cursor: pointer;
}

.sidebar-list {
    cursor: pointer !important;
}

.pagination {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ededed;
}

.table th {
    font-weight: bold;
}

.hidden {
    display: none !important;
}

.form {
    padding-left: 20px;
    padding-right: 20px;
}

.modal-content .form {
    padding-left: 0px;
    padding-right: 0px;
}

td.listActions {
    padding-right: 30px;
    font-size: 18px !important;
    white-space: nowrap;
    text-align: right;
}

.filters {
    display: none;
    margin-bottom: 0px;
}

.filters,
.filters.forms.card.card-body {
    padding: 0.65rem 0.85rem;
    margin-top: 0.5rem;
    border: 1px solid var(--theme-default) !important;
    border-radius: 0.45rem !important;
    box-shadow: var(--theme-secondary);
}

.filters form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.45rem 0.65rem;
}

.filters h3 {
    flex: 0 0 100%;
    font-size: 0.9rem !important;
    font-weight: 600;
    padding: 0 0 0.35rem 0;
    margin: 0 0 0.25rem 0;
    color: var(--filter-accent);
    line-height: 1.2;
    border-bottom: 1px solid var(--filter-border);
    letter-spacing: 0.01em;
}

.filters .mb-3.row {
    display: flex;
    flex-direction: column;
    margin: 0;
    flex: 1 1 155px;
    min-width: 130px;
    max-width: 195px;
}

.filters .mb-3.row.form-group-wide {
    flex: 1 1 210px;
    max-width: 240px;
}

.filters .mb-3.row:has(.form-check),
.filters .mb-3.row.form-group-check {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
    justify-content: center;
}

.filters .mb-3.row label {
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filters .mb-3.row .form-check-label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.filters .form-control,
.filters select.form-control {
    min-height: calc(1.5em + 0.45rem + 2px);
    padding: 0.2rem 0.45rem;
    font-size: 0.8125rem;
    width: 100%;
    background-color: var(--bs-body-bg);
    border-color: var(--filter-border);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filters .form-control:focus,
.filters select.form-control:focus {
    border-color: var(--filter-accent);
    box-shadow: 0 0 0 0.15rem rgba(79, 152, 195, 0.18);
}

.filters .mb-3.row>.col-sm-2,
.filters .mb-3.row>.col-sm-9,
.filters .mb-3.row>.col-md-3,
.filters .mb-3.row>.col-md-6 {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.filters .filters-actions,
.filters form>div:not(.form-group) {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    flex: 0 0 auto;
    margin-left: auto;
    padding-bottom: 1px;
}

.filters .select2-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
}

.filters .select2-container .select2-selection--single,
.filters .select2-container .select2-selection--multiple {
    min-height: calc(1.5em + 0.45rem + 2px);
    font-size: 0.8125rem;
    border-color: var(--filter-border);
    background-color: var(--bs-body-bg);
}

.filters .select2-container .select2-selection--multiple {
    padding: 0.1rem 0.25rem;
}

.filters .select2-container .select2-selection__choice {
    font-size: 0.75rem;
    padding: 0.1rem 0.35rem !important;
    margin: 0.1rem !important;
}

.filters .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.45rem 0.65rem;
    width: 100%;
    margin: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.filters .row>[class*="col-"] {
    flex: 1 1 155px;
    min-width: 130px;
    max-width: 195px;
    padding: 0;
}

.filters .row>.botones {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
    justify-content: flex-end;
}

td.listActions .fa {
    margin-right: 5px !important;
}

.filters .row {
    margin: 0px 10px;
    margin-bottom: 15 !important;
}

.filters button {
    margin: 0px 10px;
    margin-bottom: 15 !important;
}

.filters form {
    align-items: end;
}

span.toggle-handle.btn.btn-default {
    background-color: var(--theme-secondary) !important;
}

label.btn.btn-default.active.toggle-off {
    background-color: #dbdbdb;
}

.panelButtonList {
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    align-items: center;
}

.page-title {
    margin-bottom: 10px !important;
}

.theme-form input[type=date],
.theme-form input[type=datetime-local],
.theme-form input[type=email],
.theme-form input[type=file],
.theme-form input[type=month],
.theme-form input[type=number],
.theme-form input[type=password],
.theme-form input[type=search],
.theme-form input[type=tel],
.theme-form input[type=text],
.theme-form input[type=time],
.theme-form input[type=url],
.theme-form input[type=week],
.theme-form select,
.theme-form textarea {
    border-color: #b8bdc2 !important;
}

body.dark-only .theme-form input[type=date],
body.dark-only .theme-form input[type=datetime-local],
body.dark-only .theme-form input[type=email],
body.dark-only .theme-form input[type=file],
body.dark-only .theme-form input[type=month],
body.dark-only .theme-form input[type=number],
body.dark-only .theme-form input[type=password],
body.dark-only .theme-form input[type=search],
body.dark-only .theme-form input[type=tel],
body.dark-only .theme-form input[type=text],
body.dark-only .theme-form input[type=time],
body.dark-only .theme-form input[type=url],
body.dark-only .theme-form input[type=week],
body.dark-only .theme-form select,
body.dark-only .theme-form textarea {
    background-color: var(--theme-default) !important;
    border: 1px solid #575757 !important;
    color: #fff;
}

.active>.page-link,
.page-link.active {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
}

tr.rowNoElements {
    font-size: 14px;
}

.page-link {
    color: var(--theme-default);
    display: list-item;
    cursor: pointer;
}

span.loadMiga.breadcrumb-item {
    cursor: pointer;
}

button.btn.btn-sm.btn-primary.searchList {
    height: 32px;
}

.page-wrapper .page-header .header-wrapper {
    padding: 10px 35px;
}

.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    margin-top: 60px;
    min-height: calc(100vh - 118px);
}

.loading {
    background: url(images/loading.gif) no-repeat scroll center 20% #FFFFFF;
    background-size: 45px 45px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: .70;
    -khtml-opacity: .70;
    opacity: .90;
    z-index: 1029;
}

.numberData {
    text-wrap: nowrap;
    text-align: right !important;
}

.table-hover tbody tr:hover {
    background-color: rgb(154 154 154 / 0%);
}

form .card {
    border-color: #727c8680;
}

body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) {
    border: 1px solid #593450 !important;
}

.table-responsive {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

table {
    font-size: 12px;
}

body.dark-only .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-submenu li a.active {
    color: var(--theme-default);
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-submenu li a.active {
    color: var(--theme-default);
}

.listActions .iconDelete {
    color: #b14c4c;
}

.iconDelete {
    cursor: pointer !important;
}

.listActions .iconEdit {
    color: #a29ac9;
}

.listActions .verHistorial {
    color: #6fa16f;
}

h3.screen-title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.error-required {
    background-color: #FF917D !important;
}

body.dark-only .error-required {
    background-color: #FF917D !important;
}

.logo-wrapper img {
    width: 80%;
    margin-top: 5px;
}

.close_icon .logo-icon-wrapper {
    padding: 0 15px !important;
    padding-top: 10px !important;
}

.form-control {
    padding: 3px 8px !important;
    /*min-width: max-content;*/
    height: 30px;
}

span.input-group-append.input-group-text {
    height: 30px;
}

form#formClienteCredito .form-switch {
    padding-left: 0px;
    margin-left: -15px;
}

.filters form h3 {
    font-size: 20px;
    margin-bottom: 0px;
    margin-right: 20px;
}

.dark-only .pagination {
    background-color: transparent;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #575757;
}

.dark-only .page-link {
    color: hsla(0, 0%, 100%, 0.8);
    display: list-item;
    cursor: pointer;
}

.dark-only .active>.page-link,
.page-link.active {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
}

.dark-only .loading {
    background: url(images/loading.gif) no-repeat scroll center 20% #181818;
}

.dark-only .ui-widget-content {
    border: 1px solid #aaaaaa;
    background: #181818;
    color: #9f9f9f;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid var(--theme-secondary);
    background: var(--theme-default);
    font-weight: normal;
    color: white;
}


.dark-only .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(141 141 141 / 20%);
    --bs-table-accent-bg: unset;
}

.logo-wrapper {
    border-right: 0px !important;
}

/* Modern Info Box - Zono Theme Compatibility */
.info-box {
    display: flex;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100px;
    align-items: center;
    border: 1px solid #f0f0f0;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.info-box-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-right: 15px;
    color: #fff;
    background-color: var(--theme-default) !important;
}

.info-box-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box-text {
    font-size: 10px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.dark-only .info-box-text {
    color: #ffffff !important;
}

.info-box-number {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.info-box-number-caja {
    font-weight: 700;
    color: #ffffff;
    display: block;
}



/* Background Variations */
.bg-info .info-box-icon {
    background-color: #3e8ef7 !important;
}

.bg-success .info-box-icon {
    background-color: #22af47 !important;
}

.bg-danger .info-box-icon {
    background-color: #f33923 !important;
}

.bg-warning .info-box-icon {
    background-color: #ff9800 !important;
}

/* Dark mode adjustments */
body.dark-only .info-box {
    background-color: #2d6d9421;
    border-color: #2b668a;
}

body.dark-only .info-box-text {
    color: #a1a1a1;
}

body.dark-only .info-box-number {
    color: #fff;
}

/* Small box compatibility (Legacy) */
.small-box {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: block;
    margin-bottom: 20px;
    position: relative;
    padding: 15px;
}

.small-box .icon>i {
    font-size: 50px !important;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all .3s linear;
    opacity: 0.9;
}

/* Panel de estadísticas (genérico; cc-* mantiene compatibilidad) */
.cc-resumen-cliente {
    border: 1px solid #eef1f6;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.stat-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cc-ficha-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.stat-panel--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.stat-panel--inline .stat-panel-group--identity {
    flex: 0 0 auto;
    min-width: 220px;
}

.stat-panel--inline .stat-panel-group--flex {
    flex: 1 1 360px;
    display: flex;
    align-items: center;
}

.stat-panel--inline .stat-panel-group--flex .stat-row {
    width: 100%;
}

.stat-panel-group,
.cc-ficha-stats-group {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 10px 12px;
}

.stat-panel-group--identity {
    display: flex;
    align-items: center;
}

.stat-panel-title,
.cc-ficha-stats-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #dbe3ef;
}

.stat-panel-title i,
.cc-ficha-stats-title i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    background: var(--theme-default, #3e8ef7);
}

.stat-row,
.cc-stats-stack,
.cc-stats-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.stat-row .stat-card,
.cc-stats-row .cc-stat-item {
    flex: 1 1 100px;
    min-width: 90px;
    max-width: 100%;
    align-self: flex-start;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px 8px;
    gap: 6px;
}

.stat-row .stat-accent,
.cc-stats-row .cc-stat-accent {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 3px;
    border-radius: 10px 10px 0 0;
}

.stat-row .stat-icon,
.cc-stats-row .cc-stat-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 13px;
    margin: 0;
}

.stat-row .stat-body,
.cc-stats-row .cc-stat-body {
    align-items: center;
    width: 100%;
    flex: 0 0 auto;
}

.stat-row .stat-value,
.cc-stats-row .cc-stat-value {
    font-size: 13px;
}

.stat-row .stat-meta,
.cc-stats-row .cc-stat-meta {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.stat-card,
.cc-stat-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px 11px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8edf5;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover,
.cc-stat-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.stat-accent,
.cc-stat-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 10px 0 0 10px;
}

.stat-icon,
.cc-stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.stat-body,
.cc-stat-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    gap: 1px;
}

.stat-label,
.cc-stat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    line-height: 1.2;
}

.stat-value,
.cc-stat-value {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-meta,
.cc-stat-meta {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1.2;
}

.stat-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.stat-identity-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #3e8ef7, #1d4ed8);
    box-shadow: 0 4px 12px rgba(62, 142, 247, 0.35);
}

.stat-identity-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.stat-identity-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-identity-meta {
    font-size: 12px;
    color: #64748b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-primary .stat-accent,
.stat-primary .stat-icon,
.cc-stat-total .cc-stat-accent,
.cc-stat-total .cc-stat-icon {
    background: linear-gradient(135deg, #3e8ef7, #1d4ed8);
}

.stat-success .stat-accent,
.stat-success .stat-icon,
.cc-stat-cobrado .cc-stat-accent,
.cc-stat-cobrado .cc-stat-icon {
    background: linear-gradient(135deg, #22af47, #15803d);
}

.stat-danger .stat-accent,
.stat-danger .stat-icon,
.cc-stat-adeudado .cc-stat-accent,
.cc-stat-adeudado .cc-stat-icon {
    background: linear-gradient(135deg, #f33923, #c2410c);
}

.stat-warning .stat-accent,
.stat-warning .stat-icon,
.cc-stat-sin-imputar .cc-stat-accent,
.cc-stat-sin-imputar .cc-stat-icon {
    background: linear-gradient(135deg, #ff9800, #d97706);
}

.stat-purple .stat-accent,
.stat-purple .stat-icon,
.cc-stat-creditos .cc-stat-accent,
.cc-stat-creditos .cc-stat-icon {
    background: linear-gradient(135deg, #7c7cb8, #5b5b9a);
}

.stat-indigo .stat-accent,
.stat-indigo .stat-icon,
.cc-stat-deuda-credito .cc-stat-accent,
.cc-stat-deuda-credito .cc-stat-icon {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.stat-alert .stat-accent,
.stat-alert .stat-icon,
.cc-stat-vencidas .cc-stat-accent,
.cc-stat-vencidas .cc-stat-icon {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.stat-alert .stat-value,
.cc-stat-vencidas .cc-stat-value {
    color: #b91c1c;
}

.stat-secondary .stat-accent,
.stat-secondary .stat-icon {
    background: linear-gradient(135deg, #64748b, #475569);
}

.stat-info .stat-accent,
.stat-info .stat-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.stat-bank .stat-accent,
.stat-bank .stat-icon {
    background: linear-gradient(135deg, #33414e, #1e293b);
}

.stat-mercado .stat-accent,
.stat-mercado .stat-icon {
    background: linear-gradient(135deg, #00b1ea, #009ee3);
}

.stat-cheque .stat-accent,
.stat-cheque .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.stat-action {
    display: block;
    margin-top: 6px;
}

.stat-action .btn {
    font-size: 10px;
    padding: 2px 8px;
    line-height: 1.35;
    border-radius: 6px;
}

.stat-panel--caja .stat-row--featured .stat-card {
    flex: 1 1 160px;
    min-width: 130px;
    padding: 16px 12px 14px;
    gap: 8px;
}

.stat-panel--caja .stat-row--featured .stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 17px;
}

.stat-panel--caja .stat-row--featured .stat-label {
    font-size: 11px;
}

.stat-panel--caja .stat-row--featured .stat-value {
    font-size: 18px;
}

.stat-panel--caja .stat-row--featured .stat-meta {
    font-size: 10px;
}

.stat-panel--caja .stat-row--secondary {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed #dbe3ef;
}

.stat-panel--caja .stat-row--secondary .stat-card {
    flex: 1 1 130px;
    min-width: 120px;
}

.stat-panel--caja .btn-toggle-caja-bancos.active,
.stat-panel--caja .btn-toggle-caja-bancos[aria-expanded="true"] {
    background: rgba(6, 182, 212, 0.12);
    border-color: #0891b2;
    color: #ffffff;
}

.stat-olive .stat-accent,
.stat-olive .stat-icon {
    background: linear-gradient(135deg, #8a8c58, #6b6d42);
}

.stat-panel--dash .stat-row--featured .stat-card {
    flex: 1 1 150px;
    min-width: 130px;
    padding: 16px 12px 14px;
    gap: 8px;
}

.stat-panel--dash .stat-row--featured .stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 17px;
}

.stat-panel--dash .stat-row--featured .stat-label {
    font-size: 11px;
}

.stat-panel--dash .stat-row--featured .stat-value {
    font-size: 22px;
}

.stat-panel--dash .stat-row--featured .stat-meta {
    font-size: 10px;
}

.stat-panel--dash .stat-row--shortcuts .stat-card {
    flex: 1 1 180px;
    min-width: 160px;
    padding: 14px 12px;
}

.stat-panel--dash .stat-row--shortcuts .stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
}

.stat-card--shortcut .stat-label--shortcut {
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
    text-transform: none;
    letter-spacing: 0;
    color: #0f172a;
    font-weight: 700;
}

.stat-card.panelDashVista {
    cursor: pointer;
}

.stat-card.panelDashVista:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.cc-cliente-form-wrap .form-title h4,
.cc-cliente-form-wrap .form-title h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.cc-cliente-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.cc-cliente-mini-card {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e8edf5;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.cc-cliente-mini-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eef1f6;
}

.cc-cliente-mini-head h6 {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.cc-cliente-mini-head .btnEditarCliente {
    width: 26px;
    height: 26px;
    min-height: 26px;
    max-height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
}

.cc-cliente-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 8px;
}

.cc-mini-field {
    font-size: 13px;
    line-height: 1.25;
    min-width: 0;
    padding: 3px 6px;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-mini-field span {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-right: 4px;
}

.cc-mini-field strong {
    color: #1e293b;
    font-weight: 600;
}

.cc-mini-field-wide {
    grid-column: span 2;
}

.cc-cliente-slot {
    margin-top: 8px;
    min-height: 0;
}

.cc-cliente-datos-vista {
    margin-top: 4px;
}

.cc-dato-item {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8edf5;
}

.cc-dato-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cc-dato-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 2px;
}

.cc-dato-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    word-break: break-word;
}

.cc-cliente-datos-edit {
    margin-top: 4px;
}

.cc-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.cc-cliente-form-wrap .control-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 4px;
}

.cc-cliente-form-wrap .form-control,
.cc-cliente-form-wrap .form-select {
    font-size: 13px;
    min-height: 34px;
    padding: 6px 10px;
}

.cc-cliente-form-wrap .mb-3 {
    margin-bottom: 0.65rem !important;
}

.cc-section-card {
    border: 1px solid #eef1f6;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    margin-bottom: 1rem;
    padding-top: 14px;
    padding-bottom: 14px;
}

.cc-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f6;
}

.cc-section-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.cc-section-head-title i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-default), var(--theme-secondary));
    box-shadow: 0 3px 8px rgba(62, 142, 247, 0.25);
}

.cc-section-head-title h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.cc-section-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
}

.cc-filter-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 110px;
}

.cc-filter-field-wide {
    min-width: 150px;
    max-width: 180px;
}

.cc-filter-field label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin: 0;
    line-height: 1;
}

.cc-filter-field .form-control,
.cc-filter-field .form-select {
    min-height: 30px;
    height: 30px;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
    border-color: #dbe3ef;
}

.cc-filter-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cc-filter-actions .btn {
    width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cc-table-wrap {
    margin-top: 0;
    border: 1px solid #eef1f6;
    border-radius: 8px;
}

body.dark-only .cc-resumen-cliente,
body.dark-only .cc-section-card {
    border-color: #2b668a;
    box-shadow: none;
}

body.dark-only .stat-identity-meta {
    color: #94a3b8;
}

body.dark-only .stat-panel--caja .stat-row--secondary {
    border-top-color: #2b668a;
}

body.dark-only .stat-panel--caja .btn-toggle-caja-bancos.active,
body.dark-only .stat-panel--caja .btn-toggle-caja-bancos[aria-expanded="true"] {
    background: rgba(6, 182, 212, 0.2);
    border-color: #22d3ee;
    color: #67e8f9;
}

body.dark-only .stat-card--shortcut .stat-label--shortcut {
    color: #e2e8f0;
}

body.dark-only .stat-panel-group,
body.dark-only .cc-ficha-stats-group {
    background: linear-gradient(180deg, #1e3a4a 0%, #2d6d9421 100%);
    border-color: #2b668a;
}

body.dark-only .stat-panel-title,
body.dark-only .cc-ficha-stats-title {
    color: #cbd5e1;
    border-bottom-color: #2b668a;
}

body.dark-only .stat-card,
body.dark-only .cc-stat-item {
    background: #2d6d9421;
    border-color: #2b668a;
}

body.dark-only .stat-label,
body.dark-only .cc-stat-label,
body.dark-only .cc-filter-field label {
    color: #94a3b8;
}

body.dark-only .stat-value,
body.dark-only .stat-identity-name,
body.dark-only .cc-stat-value,
body.dark-only .cc-cliente-form-wrap .form-title h4,
body.dark-only .cc-cliente-form-wrap .form-title h5,
body.dark-only .cc-section-head-title h4,
body.dark-only .cc-dato-value {
    color: #e2e8f0;
}

body.dark-only .cc-dato-label {
    color: #94a3b8;
}

body.dark-only .cc-dato-item {
    border-bottom-color: #2b668a;
}

body.dark-only .cc-cliente-mini-card {
    background: linear-gradient(180deg, #1e3a4a 0%, #2d6d9421 100%);
    border-color: #2b668a;
}

body.dark-only .cc-cliente-mini-head {
    border-bottom-color: #2b668a;
}

body.dark-only .cc-cliente-mini-head h6 {
    color: #e2e8f0;
}

body.dark-only .cc-mini-field {
    background: #2d6d9421;
    border-color: #2b668a;
}

body.dark-only .cc-mini-field strong {
    color: #e2e8f0;
}

@media (max-width: 767.98px) {
    .cc-cliente-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-mini-field-wide {
        grid-column: span 2;
    }
}

body.dark-only .cc-stat-meta {
    color: #64748b;
}

body.dark-only .cc-section-head {
    border-bottom-color: #2b668a;
}

@media (max-width: 991.98px) {
    .cc-section-head {
        align-items: stretch;
    }

    .cc-section-filters {
        justify-content: flex-start;
    }

    .stat-row .stat-card,
    .cc-stats-row .cc-stat-item {
        flex: 1 1 calc(25% - 6px);
        min-width: 70px;
    }
}

@media (max-width: 767.98px) {
    .stat-panel--inline {
        flex-direction: column;
    }

    .stat-row .stat-card,
    .cc-stats-row .cc-stat-item {
        flex: 1 1 calc(50% - 4px);
    }

    .cc-filter-field,
    .cc-filter-field-wide {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        max-width: none;
    }
}

.form-grids .card-header {
    display: none;
}

button.btn {
    white-space: nowrap;
    max-height: 30px;
    min-height: 30px;
    padding: 0 15px;
}

button.btn.btn-secondary.submitVenta {
    min-height: 70px;
}

.btn-info {
    background-color: #3d6a71a3 !important;
    border-color: #3d6a71a3 !important;
    -webkit-tap-highlight-color: transparent;
    transform: translateZ(0);
}

.dark-only .page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item {
    color: #b1b1b1;
}

.dark-only .page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item+.breadcrumb-item:before {
    color: #b1b1b1;
}

.page-wrapper .page-header .header-wrapper {
    box-shadow: 0px -5px 15px var(--theme-secondary);
}

.panelRapido {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.panelRapido button {
    font-size: 12px;
    padding: 0.3rem 1rem;
}

.sidebar-links .sidebar-title i {
    margin-top: 2px !important;
    margin-left: -4px;
    color: var(--theme-secondary);
}

.table td {
    padding: 0.5rem;
}

.table th {
    /*padding: 1rem;*/
}

thead {
    background-color: var(--theme-default);
    white-space: nowrap;
    border-left: 1px solid;
    border-right: 1px solid;
}

thead {
    background-color: #427c9f1f;
    white-space: nowrap;
    border-left: 1px solid;
    border-right: 1px solid;
    border-left-color: #b7459b !important;
    border-right-color: #427c9f !important;
}

.dark-only thead {
    background-color: #3b2135;

}

.dark-only .btn-info {
    background-color: #353535 !important;
    border-color: #575757 !important;
}

body.dark-only .page-wrapper .page-body-wrapper .page-title .breadcrumb li:first-child {
    background-color: transparent;
}

.card.table-responsive thead {
    border-top: 10px solid #ffffff;
}

.dark-only .card.table-responsive thead {
    border-top: 10px solid #171818 !important;
}

.page-wrapper .page-header .header-wrapper .search-full .form-group input {
    background-color: #f5f5f5;
    color: #1f2f3e;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.4;
    padding: 5px 0 5px 25px;
    width: 100% !important;
}


.responsive_hide {
    display: block;
}

.responsive_show {
    display: none !important;
}


.listActions span {
    cursor: pointer;
}

.p-10 {
    padding: 10px !important;
}

.dropify-render {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

input[name="color_nombre"] {
    text-transform: uppercase !important;
}

input[name="tipoOperacion_nombre"] {
    text-transform: uppercase !important;
}

.nowrap {
    white-space: nowrap !important;
}


/* Galeria de Imagenes - Vehiculos */
.st-imagen-contenedor {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.st-imagen-contenedor .image-cont {
    background-color: #000;
    width: 200;
    height: 200;
    margin-left: 10px;
    margin-bottom: 10px;
    position: relative;
    border-radius: 5%;
}

.st-imagen-contenedor .image-cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5% !important;
}

.st-imagen-contenedor .image-cont .delete-img {
    background-color: rgb(223, 103, 103);
    left: 4px;
    top: 4px;
    align-content: center;
    text-align: center;
    color: #FFF;
    position: absolute;
    border-radius: 10px;
    cursor: pointer;
    padding: 6px 10px;
}

.vehiculo-imagen-container .image-cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5% !important;
}

/* Fin Galeria de Imagenes - Vehiculos */

div#telefonos_contenedor span {
    margin-right: 10px;
    padding: 8px;
    font-size: 16px !important;
    border: 2px solid var(--theme-secondary);
    background-color: #f3f0e7;
    color: black;
}


:root {
    --icon-tab-color: var(--theme-secondary) !important;
}

:root.dark-only {
    --icon-tab-color: var(--theme-default);
}

.icon-tab {
    font-size: 19px;
    color: var(--icon-tab-color);
    margin-right: 5px;
    transition: color 0.3s ease;
}

.fa-trash {
    color: #d35e5e !important;
}

.form-check-input {
    margin-left: -0.5rem !important;
}

.form-switch .form-check-input {
    height: 18px;
    width: 40px;
    margin-left: 15px !important;
}


@media (max-width: 768px) {

    .div_stock_in {
        display: block !important;
    }

    .auto_stock_in {
        min-width: 100% !important;
        margin-right: 0;
    }


    .responsive_hide {
        display: none !important;
    }

    .responsive_hide_contents {
        display: none !important;
    }

    .responsive_show {
        display: block !important;
    }

    .responsive_show_contents {
        display: contents !important;
    }

    .responsive_hide_td {
        display: none !important;
    }

    .responsive_show_td {
        display: table-cell !important;
    }

    .container-fluid.main {
        padding-left: 10;
        padding-right: 10;
        padding-bottom: 0;
    }


    td.listActions {
        padding-right: 10px;
        justify-items: right;
        min-width: auto !important;
    }

    span.title_hide {
        display: none;
    }

    td.listActions span {
        display: table-cell;
        padding-right: 10px;

    }

    .control-label {
        width: 100%;
        display: flex;
    }

    .form-body .form-group {
        text-align: center;
        display: flow;
    }

    .form-body .col-md-10.hidden-xs.hidden-sm {
        width: 100% !important;
    }

    td.listActions .fa {
        font-size: 6vw !important;
    }

    .filters .row {
        width: 100%;
    }

    .summary-card .summary-progressbar ul li {
        padding: 10 !important;
        margin-right: 0;
        border: 1px solid var(--theme-default) !important;
    }

    .equivalDolarContent {
        position: relative !important;
        text-align: left !important;
        display: flex;
        white-space: nowrap;
    }

    .signal-table.table-responsive .table tbody tr td:nth-child(n+2) {
        min-width: auto;
    }

    .page-wrapper.compact-wrapper .page-body-wrapper .page-body {
        margin-top: 72px;
    }

    .dolarinfo {
        position: relative !important;
        color: #2aaf66 !important;
        font-weight: bold !important;
        font-size: 13px !important;
        text-align: right !important;
    }

    select.form-control {
        min-width: 0 !important;
        text-overflow: ellipsis;
    }

}

.contentTotalMetodosPago,
.equivalencia_monto {
    font-weight: bold;
    color: var(--theme-secondary);
    font-size: 13px;
}

.dark-only .dropify-wrapper .dropify-preview,
.dark-only .dropify-wrapper,
.dark-only div#telefonos_contenedor span {
    background-color: var(--theme-default);
}

body.dark-only .form-check-input,
body.dark-only .icon-lists div:hover {
    background-color: var(--theme-default);
}

.dark-only input.form-control.ui-autocomplete-input {
    border: 1px solid #575757 !important;
    background-color: var(--theme-default) !important;
    border-color: var(--theme-secondary) !important;
}


.dark-only select.form-control {
    border-color: var(--theme-secondary) !important;
}

/* Hace que el div ocupe solo lo necesario */
.checkbox-inline.form-switch {
    display: inline-flex;
    padding: 0;
    margin: 0;
    width: fit-content;
}

.checkbox-inline.form-switch .form-check-input {
    margin: 0;
}

select.form-control,
textarea.form-control,
input.form-control {
    border-color: var(--theme-secondary) !important;
}

.input-con-color {
    background-repeat: no-repeat !important;
    background-position: 4px center !important;
    background-size: 12px 12px !important;
    padding-left: 24px !important;
}

.vehiculoNoDisponible {
    background-color: #ff9c9c2b;
}

.small-box {
    background-color: white;
}

.dark-only .small-box {
    background-color: transparent;
    box-shadow: 0 0 1px rgb(255 255 255 / 92%), 0 1px 3px rgb(255 255 255 / 31%);
}

.contentFinanciacion,
.contentCreditoPrendario {
    padding: 5px 15px !important;
    border: 1px solid !important;
    margin: 15px 0px 15px 0px !important;
    border-radius: 5px !important;
    background-color: #e1eddf !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {

    .contentCreditoPrendario,
    .contentFinanciacion {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (min-width: 992px) {

    .contentFinanciacion,
    .contentCreditoPrendario {
        white-space: nowrap !important;
    }
}

.contentFinanciacion span,
.contentCreditoPrendario span {
    word-break: break-word !important;
}

.control-label {
    white-space: nowrap;
    text-align: right;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .form-grids .control-label {
        white-space: normal;
    }
}

.equivalencia_monto {
    margin: 5px;
}

.form-control:disabled {
    background-color: var(--bs-secondary-bg) !important;
    opacity: 1;
}

/* MARGENES */
.mt-5 {
    margin-top: 5px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

/* FIN MARGENES */

.page:not(:last-child) {
    page-break-after: always;
}

@media (max-width: 768px) {
    .modal-footer button {
        margin: 10px !important;
    }
}

.btn-theme-default {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
    color: white;
}

.btn-theme-default:hover {
    background-color: #6f717d;
}

.btn-theme-secondary {
    background-color: var(--theme-secondary);
    border-color: var(--theme-secondary);
    color: white;
}

.btn-theme-secondary:hover {
    background-color: #1b234f;
    color: white;
}

span#operacion_diff {
    color: red !important;
}

span#total_credito_prendario {
    color: black;
    font-size: 14px;
}

.contentFinanciacion {
    background-color: #24306412 !important;
}

span#total_financiado {
    color: black;
    font-size: 14px;
}

span#total {
    color: black;
    font-size: 14px;
}

button#addMetodoPago {
    padding: 3px 20px;
}

.datos-pago-cheque fieldset {
    border: 1px solid #bbb9b9;
    padding: 10px;
    margin-left: 12px;
    border-radius: 5px;
}

.modal-header {
    background-color: var(--theme-secondary) !important;
    color: white !important;
}

.modal-title {
    color: white !important;
}

.btn-close {
    background-color: var(--theme-default);
}

@media (max-width: 768px) {
    .tfoot-desktop {
        display: none;
    }

    .logo-wrapper {
        border-right: 0px !important;
        display: flex;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .tfoot-mobile {
        display: none;
    }
}

.nav-tabs .nav-link {
    border: 1px solid var(--theme-secondary);
    color: var(--theme-secondary);
    background-color: transparent;
}

.nav-tabs .nav-link.active {
    background-color: var(--theme-secondary);
    color: #fff;
}

.nav-tabs .nav-link:hover {
    background-color: var(--theme-default);
    color: #fff;
}

span.label.labelFactura {
    background: #e1dfd1;
    border: solid 1px #a19d7b;
    color: white;
    padding: 5px 20px;
    font-size: 12px;
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
    border-radius: 20px;
    background: var(--theme-secondary) !important;
}

.dolarinfo {
    position: relative !important;
    color: #2aaf66 !important;
    font-weight: bold !important;
    font-size: 13px !important;
    text-align: right !important;
}

#cke_editor1 .cke_contents {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

#cke_v_catalogo_editor .cke_contents {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

.cke_top {
    border-bottom: 1px solid #24306429 !important;
    background: #24306429 !important;
}

@media (max-width: 767px) {
    .input-group {
        display: block !important;
        width: 100% !important;
    }

    .input-group select,
    .input-group input {
        margin-bottom: 8px;
        width: 100% !important;
    }
}

.tar {
    text-align: right !important;
}

.tac {
    text-align: center !important;
}

input.form-control.potencial {
    background-color: var(--bs-secondary-bg) !important;
}

.potencial .itemSearch {
    padding: 20px 10px;
    border: 2px dotted;
    margin: 0px 0px 20px 0px;
    border-radius: 8px;
}

.potencial .form-control {
    min-width: auto !important;
}

.itemSearch {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0 !important;
}

.itemSearch:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

.deleteItemSearch {
    transition: all 0.2s ease;
    background-color: transparent !important;
    border: 1px solid #dc3545 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.deleteItemSearch:hover {
    transform: scale(1.1);
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.deleteItemSearch:hover i {
    color: white !important;
}

.deleteItemSearch:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-label {
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 0.9rem;
}

.alert-info {
    border-radius: 8px;
}

.alert-info h4 {
    color: #17a2b8;
}

.card {
    border-radius: 10px;
}

.card-title {
    color: #495057;
    font-weight: 600;
}

.btn-success {
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* .input-group .form-control:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
} */

.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

#formClientePotencial input[type="text"]:focus,
#formClientePotencial select:focus,
#formClientePotencial textarea:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contentItemSearch {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-required {
    border-color: #dc3545 !important;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* FUENTES */

.fw {
    font-weight: bold !important;
}

/* FIN FUENTES */

/*ACTIONS RESPONSIVE*/

.actions-responsive {
    display: flex !important;
    justify-content: right !important;
    gap: 10px !important;
    padding: 0.5rem !important;
}

@media (max-width: 600px) {
    .actions-responsive {
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 0.5rem !important;
    }

    .actions-responsive .fa {
        font-size: 16px !important;
    }
}

.actions-responsive .fa {
    cursor: pointer !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.actions-responsive .fa:hover {
    transform: scale(1.2) !important;
    color: #007bff !important;
}

/*FIN ACTIONS RESPONSIVE*/

#ordent_addProducto,
.agregar-prod,
label[for="ordent_addProducto"] {
    cursor: pointer !important;
}

.ui-autocomplete {
    z-index: 99999 !important;
}

.medioPago {
    border: 1px solid var(--theme-secondary) !important;
    border-radius: 20px !important
}

.p15 {
    padding: 10px 10px 0px !important
}

.mtlb-15-5-0 {
    margin: 15px 5px 0px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.block {
    pointer-events: none !important;
}

.color-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #a3919aff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    vertical-align: middle;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .form-control.d-flex {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .color-indicator {
        width: 25px;
        height: 25px;
    }
}

.nota {
    font-size: 14px !important;
    margin-top: 10px !important;
    font-weight: bold !important;
    color: red !important;
}

/*COLOR ESTADO PRIODIDAD PRESUPUESTO*/
.prioridad-alta {
    background-color: #28a745 !important;
    color: white !important;
}

.prioridad-media {
    background-color: #ffc107 !important;
    color: black !important;
}

.prioridad-baja {
    background-color: #dc3545 !important;
    color: white !important;
}

/* Aplicar color al select cuando tiene una clase de prioridad */
select.prioridad-alta {
    background-color: #28a745;
    color: white;
}

select.prioridad-media {
    background-color: #ffc107;
    color: black;
}

select.prioridad-baja {
    background-color: #dc3545;
    color: white;
}

/*FIN COLOR ESTADO PRIODIDAD PRESUPUESTO*/



/* Optimizaciones para Listado de Presupuestos (Notebooks/MacBook 13/14) */
@media (min-width: 992px) and (max-width: 1600px) {
    .table-clientePotencial {
        table-layout: auto !important;
    }

    .table-clientePotencial td,
    .table-clientePotencial th {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Columna Nº */
    .table-clientePotencial td:nth-child(1),
    .table-clientePotencial th:nth-child(1) {
        width: 1% !important;
        white-space: nowrap !important;
    }

    /* Columna Cliente */
    .table-clientePotencial td:nth-child(2) {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Columna Fecha */
    .table-clientePotencial td:nth-child(3) {
        width: 1% !important;
        white-space: nowrap !important;
    }

    /* Columna Vehículo */
    .table-clientePotencial td:nth-child(4) {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Columna Prioridad - Forzar a que ocupe solo lo necesario */
    .table-clientePotencial td:nth-child(5),
    .table-clientePotencial th:nth-child(5) {
        width: 1% !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .table-clientePotencial .select-prioridad {
        width: 95px !important;
        font-size: 11px !important;
        height: 24px !important;
        padding: 2px !important;
        display: inline-block !important;
    }

    /* Columna Total */
    .table-clientePotencial td:nth-child(6) {
        width: 1% !important;
        white-space: nowrap !important;
        font-weight: bold;
        text-align: left !important;
        /* Forzamos alineación a la izquierda */
    }

    /* Columna Acciones */
    .table-clientePotencial td.listActions,
    .table-clientePotencial th.listActions {
        width: 1% !important;
        white-space: nowrap !important;
        padding-right: 5px !important;
        text-align: left !important;
        /* Forzamos alineación a la izquierda */
    }

    /* General para todos los TD y TH de esta tabla en notebook */
    .table-clientePotencial td,
    .table-clientePotencial th {
        text-align: left !important;
    }

    /* Excepto prioridad que la queremos centrada */
    .table-clientePotencial td:nth-child(5) {
        text-align: center !important;
    }

    .table-clientePotencial td.listActions .fa {
        margin-right: 4px !important;
        /* Un poco mas de aire que antes pero controlado */
    }
}

/* ESTILOS ITEMS DE SERVICIO*/

.items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.servicio-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    transition: background 0.2s ease;
    flex: 1 1 200px;
    cursor: pointer;
}

.servicio-item:hover {
    background: #f0f0f0;
}

.servicio-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.contentSelectAll {
    cursor: pointer !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.contentSelectAll label {
    font-weight: 500;
    font-size: 1rem;
}

.contentSelectAll input[type="checkbox"] {
    margin-left: 8px;
    transform: scale(1.2);
}

.servicio-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.servicio-item input[type="checkbox"] {
    flex-shrink: 0;
}

.servicio-item span {
    flex-grow: 1;
}

.servicio-item .fa-trash {
    margin-left: auto;
    cursor: pointer;
}

@media (max-width: 576px) {
    .contentSelectAll {
        justify-content: center;
        text-align: center;
    }

    .contentSelectAll label {
        margin-bottom: 6px;
    }

    .contentSelectAll input[type="checkbox"] {
        margin-left: 0;
    }
}

/* FIN ESTILOS ITEMS DE SERVICIO*/

/* ESTILOS ITEMS DE ORDEN DE SERVICIO*/
.productos-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.producto-item {
    display: flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: #f9f9f9 !important;
    transition: background 0.2s ease !important;
    flex: 1 1 200px !important;
    cursor: pointer !important;
    min-width: 0;
}

.producto-item:hover {
    background: #f0f0f0 !important;
}

.producto-item input[type="checkbox"] {
    margin-right: 8px !important;
    transform: scale(1.2) !important;
    flex-shrink: 0;
}

/* ── Permisos por módulo ── */
.permisos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.permisos-select-all-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    background: #e9edf5;
    border: 1px solid #c5cbda;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.18s;
}

.permisos-select-all-wrap:hover {
    background: #d5dbeb;
}

.permisos-select-all-wrap input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin-top: 0 !important;
}

.permiso-modulo-card {
    border-radius: 10px;
    border: 1px solid #dde2ed;
    overflow: hidden;
    transition: box-shadow 0.18s;
}

.permiso-modulo-card:hover {
    box-shadow: 0 4px 16px rgba(36, 48, 100, 0.10);
}

.permiso-modulo-header {
    padding: 10px 14px;
    border-bottom: none;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background-color: var(--theme-secondary) !important;
    border-color: var(--theme-secondary) !important;
}

.permiso-modulo-title {
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.permiso-modulo-check-all {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 20px;
    padding: 4px 12px 4px 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
    margin-bottom: 0;
}

.permiso-modulo-check-all span {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.permiso-modulo-check-all .form-check-input {
    width: 17px;
    height: 17px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0;
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.15);
}

.permiso-modulo-check-all .form-check-input:checked {
    background-color: #fff;
    border-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23243064' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.permiso-modulo-body {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
}

.permiso-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s;
    margin: 0;
}

.permiso-item:hover {
    background: #f0f3fb;
}

.permiso-item .form-check-input {
    margin-top: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.permiso-item .form-check-label {
    cursor: pointer;
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.3;
}

.permisos-select-all-wrap input[name="selectAll"] {
    border-color: rgb(98 94 94 / 70%) !important;
}

/* Dark mode */
body.dark-only .permisos-select-all-wrap {
    background: #2a2d3e;
    border-color: #444860;
    color: #c8cde8;
}

body.dark-only .permisos-select-all-wrap:hover {
    background: #333652;
}

body.dark-only .permiso-modulo-card {
    border-color: #444860;
}

body.dark-only .permiso-modulo-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

body.dark-only .permiso-modulo-header {
    background-color: var(--theme-secondary) !important;
    border-color: var(--theme-secondary) !important;
}

body.dark-only .permiso-modulo-body {
    background: #1e2130;
}

body.dark-only .permiso-item:hover {
    background: #272b3e;
}

body.dark-only .permiso-item .form-check-label {
    color: #b8bdda;
}

body.dark-only .permisos-select-all-wrap input[name="selectAll"] {
    border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Responsive grid */
.permisos-grid {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

/* FIN ESTILOS ITEMS DE ORDEN DE SERVICIO*/

/* ========================================
                MODAL HISTORIAL
   ======================================== */

/* --- Modo claro --- */
#modalHistorial .modal-body {
    background-color: #f8f9fa;
}

#modalHistorial .card.table-responsive {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
}

.table-historial td {
    color: #1f2f3e;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.table-historial tr:last-child td {
    border-bottom: none;
}

.table-historial td.historial-fecha {
    white-space: nowrap;
    color: #495057;
    font-size: 0.85em;
    min-width: 120px;
}

.table-historial td.historial-desc {
    color: #1f2f3e;
}

.table-historial .historial-update {
    color: #1a3a8f;
    font-weight: bold;
}

.table-historial .historial-insert {
    color: #1a6b1a;
    font-weight: bold;
}

.table-historial .historial-delete {
    color: #a01e1e;
    font-weight: bold;
}

.table-historial .historialModificacion {
    color: #6c757d;
    font-style: italic;
    font-size: 0.92em;
}

/* --- Modo oscuro --- */
body.dark-only #modalHistorial .modal-body,
body.dark-only #modalHistorial .modal-content {
    background-color: #1e1f2b;
}

body.dark-only #modalHistorial .card.table-responsive {
    background-color: #252636;
    border: 1px solid #3a3b50;
}

body.dark-only .table-historial td {
    color: #d0d4e4;
    border-bottom: 1px solid #3a3b50;
}

body.dark-only .table-historial tr:last-child td {
    border-bottom: none;
}

body.dark-only .table-historial td.historial-fecha {
    color: #9fa8c0;
}

body.dark-only .table-historial td.historial-desc {
    color: #d0d4e4;
}

body.dark-only .table-historial .historial-update {
    color: #7b9ef5;
    font-weight: bold;
}

body.dark-only .table-historial .historial-insert {
    color: #6ecb6e;
    font-weight: bold;
}

body.dark-only .table-historial .historial-delete {
    color: #f07070;
    font-weight: bold;
}

body.dark-only .table-historial .historialModificacion {
    color: #8892aa;
    font-style: italic;
    font-size: 0.92em;
}

body.dark-only #modalHistorial .table-hover tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.06);
    color: #e8ecf8;
}

/* ========================================
   MODAL FILE (Documentación) - Estilos modo claro/oscuro
   ======================================== */

/* --- Modo claro --- */
#modalFile .modal-body {
    background-color: #f8f9fa;
}

#modalFile .table-responsive {
    background-color: #ffffff;
    border-radius: 4px;
}

#modalFile .tableDetalle thead th {
    color: #1f2f3e;
    font-weight: bold;
    background-color: #eef0f8;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

#modalFile .tableDetalle tbody td {
    color: #1f2f3e;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

#modalFile .tableDetalle tbody tr:last-child td {
    border-bottom: none;
}

#modalFile .tableDetalle tbody tr:nth-of-type(odd) td {
    background-color: rgba(36, 48, 100, 0.04);
}

#modalFile .tableDetalle a {
    color: #243064;
}

#modalFile .tableDetalle a:hover {
    color: #5364ae;
}

/* --- Modo oscuro --- */
body.dark-only #modalFile .modal-body,
body.dark-only #modalFile .modal-content {
    background-color: #1e1f2b;
}

body.dark-only #modalFile .table-responsive {
    background-color: #252636;
    border-radius: 4px;
}

body.dark-only #modalFile .tableDetalle thead th {
    color: #c8cfe8;
    background-color: #2e3050;
    border-bottom: 2px solid #3a3b50;
}

body.dark-only #modalFile .tableDetalle tbody td {
    color: #d0d4e4;
    border-bottom: 1px solid #3a3b50;
}

body.dark-only #modalFile .tableDetalle tbody tr:last-child td {
    border-bottom: none;
}

body.dark-only #modalFile .tableDetalle tbody tr:nth-of-type(odd) td {
    background-color: rgba(255, 255, 255, 0.04);
}

body.dark-only #modalFile .tableDetalle tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.06);
    color: #e8ecf8;
}

body.dark-only #modalFile .tableDetalle a {
    color: #7b9ef5;
}

body.dark-only #modalFile .tableDetalle a:hover {
    color: #a0bcff;
}

body.dark-only #modalFile .tableDetalle i {
    color: #9fa8c0;
}

.sort-arrows {
    display: inline-flex;
    gap: 2px;
    margin-left: 4px;
    vertical-align: middle;
}

.sort-arrows .sort-arrow {
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    padding: 0 2px;
    transition: color 0.15s ease-in-out;
}

.sort-arrows .sort-arrow:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.sort-arrows .sort-arrow.active {
    color: #ffd54f;
    font-weight: bold;
}

body.dark-only .sort-arrows .sort-arrow {
    color: rgba(220, 224, 235, 0.55);
}

body.dark-only .sort-arrows .sort-arrow:hover {
    color: rgba(220, 224, 235, 0.95);
}

body.dark-only .sort-arrows .sort-arrow.active {
    color: #ffd54f;
}


/* ============================================================
   PANTALLA AGREGAR VENTA (a_venta.php)
   ============================================================ */

/* Migrado de inline <style> en a_venta.php */
.help {
    margin-top: 1px;
    margin-left: 5px;
    font-weight: bold;
    font-size: 12px;
    color: #01409f;
}

/* ---- Layout principal ---- */
.aventa-main-layout {
    margin-top: 4px;
}

.aventa-col-izq {
    padding-right: 10px;
}

.aventa-col-der {
    padding-left: 10px;
}

.aventa-sticky-panel {
    position: sticky;
    top: 75px;
}

/* ---- Cards de sección ---- */
.aventa-card {
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
}

.aventa-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--theme-default);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(13, 26, 42, 0.1);
}

/* ---- Sección cliente ---- */
.aventa-cliente-input {
    font-size: 16px !important;
    height: 44px !important;
    font-weight: 500;
}

.aventa-cliente-secondary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.aventa-cc-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.aventa-cc-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.aventa-presupuesto-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8f4fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 12px;
    font-weight: 600;
}

/* ---- Sección productos ---- */
.aventa-card-title-prod {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 8px;
}

.aventa-card-title-prod>.aventa-btn-agregar-prod {
    margin-left: auto;
}

@media (max-width: 480px) {
    .aventa-card-title-prod>.aventa-btn-agregar-prod {
        width: 100%;
        margin-left: 0;
    }
}

.aventa-btn-agregar-prod {
    background: transparent;
    border: 1.5px solid var(--theme-default);
    color: var(--theme-default);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    transition: all 0.2s;
    white-space: nowrap;
}

.aventa-btn-agregar-prod:hover,
.aventa-btn-agregar-prod:focus {
    background: var(--theme-default);
    color: #fff !important;
}

.aventa-table-wrapper {
    border-radius: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e4e9ef;
    margin-bottom: 0;
}

.aventa-table-wrapper .table-productos {
    min-width: 650px;
}

.table-productos input[name="producto_search[]"] {
    min-width: 180px !important;
}

@media (max-width: 991px) {
    .aventa-col-izq {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 15px;
    }

    .aventa-col-der {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.aventa .table-productos thead th {
    background: #f3f6f9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6b7a8d;
    padding: 10px 10px;
    border-bottom: 2px solid #dde3ea;
}

.aventa .table-productos tbody td {
    vertical-align: middle;
    padding: 8px 10px;
}

.aventa .table-productos tbody tr:hover td {
    background: #f7f9fc;
}

.aventa-scan-hint {
    font-size: 11px;
    color: #9aa6b4;
    text-align: center;
    margin-top: 10px;
    padding: 7px 10px;
    background: #f8f9fb;
    border-radius: 6px;
    border: 1px dashed #dde3ea;
}

.aventa-scan-hint i {
    margin-right: 5px;
}

/* ---- Panel de Totales ---- */
.aventa-totales-card {
    padding: 0;
    overflow: hidden;
}

.aventa-total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f3f6;
}

.aventa-total-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a97a8;
}

.aventa-total-valor {
    font-size: 15px;
    font-weight: 700;
}

.aventa-total-principal {
    background: linear-gradient(135deg, #f0f5ff, #e8f0fe);
    border-bottom: 2px solid #c8d8f8 !important;
    padding: 14px 16px !important;
}

.aventa-total-principal .aventa-total-label {
    font-size: 13px !important;
    color: var(--theme-default) !important;
    font-weight: 800 !important;
}

.aventa-total-principal .aventa-total-valor {
    font-size: 26px !important;
    color: var(--theme-default) !important;
    font-weight: 800 !important;
}

.aventa-total-saldo .aventa-total-label {
    color: #c0392b;
}

/* ---- Descuentos (dentro del panel de totales) ---- */
.aventa-descuentos-section {
    padding: 10px 16px;
    background: #fffdf0;
    border-top: 1px dashed #e8d870;
}

.aventa-descuento-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.aventa-descuento-row:last-child {
    margin-bottom: 0;
}

.aventa-descuento-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #a08030;
    min-width: 65px;
    white-space: nowrap;
}

.aventa-descuento-row .form-control {
    height: 32px !important;
    font-size: 13px;
    flex: 1;
}

/* ---- Método de pago ---- */
.aventa-pago-card .itemMetodoPago {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f3f6;
}

.aventa-pago-card .itemMetodoPago:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ---- Botón Confirmar Venta ---- */
.aventa-confirmar-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(135deg, #27ae60, #1a9150);
    border: none;
    color: #fff !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.38);
    transition: all 0.25s;
}

.aventa-confirmar-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(39, 174, 96, 0.5);
    color: #fff !important;
}

.aventa-confirmar-btn:disabled {
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

/* ---- Modal Confirmar Venta ---- */
.aventa-modal-confirmar-body {
    padding: 16px 24px 20px;
}

.aventa-modal-tipo-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 18px;
}

.aventa-modal-tipo-btn {
    flex: 1;
    max-width: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    border: 2px solid #dde3ea;
    border-radius: 12px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.aventa-modal-tipo-btn:hover {
    border-color: var(--theme-default);
    color: var(--theme-default);
    background: #f0f5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13, 26, 42, 0.12);
}

.aventa-modal-tipo-btn i {
    font-size: 28px;
}

.aventa-modal-tipo-btn-factura:hover {
    border-color: var(--theme-secondary);
    color: var(--theme-secondary);
    background: #fff5f5;
}

.aventa-modal-print-check {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.aventa-modal-print-check label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

/* ---- Modo oscuro ---- */
body.dark-only .aventa-card {
    background: transparent;
    border-color: #9f4149;
}

body.dark-only .aventa-card-title {
    color: #8baed8;
    border-bottom-color: rgba(139, 174, 216, 0.15);
}

body.dark-only .aventa-cliente-input {
    background: #1e1f2b;
    color: #d0d4e4;
    border-color: #363754;
}

body.dark-only .aventa-cc-label {
    color: #9aa6c0;
}

body.dark-only .aventa-presupuesto-badge {
    background: #1a2640;
    border-color: #2a4880;
    color: #7ab0e8;
}

body.dark-only .aventa-table-wrapper {
    border-color: #363754;
}

body.dark-only .table-productos thead th {
    background: #2a2b3d;
    color: #8a97b8;
    border-bottom-color: #363754;
}

body.dark-only .table-productos tbody td {
    color: #c8cfe8;
}

body.dark-only .table-productos tbody tr:hover td {
    background: #272838;
}

body.dark-only .aventa-scan-hint {
    background: #1e1f2b;
    border-color: #363754;
    color: #5a6a7a;
}

body.dark-only .aventa-btn-agregar-prod {
    border-color: #8baed8;
    color: #8baed8;
}

body.dark-only .aventa-btn-agregar-prod:hover {
    background: #8baed8;
    color: #1e1f2b !important;
}

body.dark-only .aventa-total-item {
    border-bottom-color: #2e3050;
}

body.dark-only .aventa-total-label {
    color: #6b7a9a;
}

body.dark-only .aventa-total-valor {
    color: #c8cfe8;
}

body.dark-only .aventa-total-principal {
    background: linear-gradient(135deg, #b4cfd54d, #1e2850);
    border-bottom-color: #2e4080 !important;
}

body.dark-only .aventa-total-principal .aventa-total-label {
    color: #8baed8 !important;
}

body.dark-only .aventa-total-principal .aventa-total-valor {
    color: #a8c8f0 !important;
}

body.dark-only .aventa-descuentos-section {
    background: #252310;
    border-top-color: #5a5020;
}

body.dark-only .aventa-descuento-label {
    color: #c0a040;
}

body.dark-only .aventa-descuento-row .form-control {
    background: #1e1f2b;
    border-color: #363754;
    color: #d0d4e4;
}

body.dark-only .aventa-pago-card .itemMetodoPago {
    border-bottom-color: #2e3050;
}

body.dark-only .aventa-modal-tipo-btn {
    background: #1e1f2b;
    border-color: #363754;
    color: #c8cfe8;
}

body.dark-only .aventa-modal-tipo-btn:hover {
    background: #1a2340;
    border-color: #8baed8;
    color: #8baed8;
}

body.dark-only .aventa-modal-print-check {
    color: #8a97b8;
}

body.dark-only .help {
    color: #6aa0d8;
}


@media (max-width: 1470px) {
    .signal-table.table-responsive .table tbody tr td:nth-child(n+2) {
        min-width: auto;
    }
}

/*
Fecha: 2026-06-09
Dev: Charlie
Funcionalidad: Estilos para table-scrollable y corrección de @scrollbar-width
*/
.table-scrollable {
    --scrollbar-width: 0.9em;
    display: flex;
    flex-flow: column;
}

.table-scrollable thead,
.table-scrollable tbody tr {
    display: table;
    table-layout: fixed;
}

.table-scrollable thead {
    flex: 0 0 auto;
    width: calc(100% - var(--scrollbar-width));
}

.table-scrollable tbody {
    display: block;
    flex: 1 1 auto;
    overflow-y: scroll;
}

.table-scrollable tbody tr {
    width: 100%;
}

.cc-cliente-documentacion {
    margin-top: 4px;
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid #e8edf5;
    border-radius: 8px;
}

.cc-cliente-documentacion .cc-documentacion-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cc-cliente-documentacion .table-archivos {
    font-size: 12px;
    margin-bottom: 0;
}

body.dark-only .cc-cliente-documentacion {
    background: #2d6d9421;
    border-color: #2b668a;
}

body.dark-only .cc-cliente-documentacion .cc-documentacion-title {
    color: #e2e8f0;
}

.cc-mini-doc {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eef1f6;
}

.cc-mini-doc-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    margin-bottom: 6px;
}

.cc-mini-doc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cc-mini-doc-list .cc-doc-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cc-mini-doc-list .cc-doc-item:hover {
    border-color: #2b668a;
    color: #2b668a;
}

.cc-mini-doc-list .cc-doc-empty {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
}

body.dark-only .cc-mini-doc {
    border-top-color: #2b668a;
}

body.dark-only .cc-mini-doc-list .cc-doc-item {
    background: #2d6d9421;
    border-color: #2b668a;
    color: #e2e8f0;
}

.cc-mini-obs-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 170px;
    overflow-y: auto;
}

.cc-obs-item {
    padding: 5px 8px;
    font-size: 12px;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 6px;
}

.cc-obs-meta {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2px;
}

.cc-obs-meta i {
    margin-right: 2px;
}

.cc-obs-text {
    color: #1e293b;
    line-height: 1.3;
    white-space: pre-wrap;
    word-break: break-word;
}

body.dark-only .cc-obs-item {
    background: #2d6d9421;
    border-color: #2b668a;
}

body.dark-only .cc-obs-text {
    color: #e2e8f0;
}

.aventa-reservar-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(135deg, #e67e22, #ca6510);
    border: none;
    color: #fff !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.38);
    transition: all 0.25s;
}

.aventa-reservar-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(230, 126, 34, 0.5);
    color: #fff !important;
}

.aventa-reservar-btn:disabled {
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

tr.ventaReservada td {
    background-color: #fff6e6 !important;
}

.badge-reservada {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    background: #e67e22;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

body.dark-only tr.ventaReservada td {
    background-color: #4a3414 !important;
}

tr.ventaAnulada td {
    background-color: #edbab1 !important;
}

body.dark-only tr.ventaAnulada td {
    background-color: #f14040 !important;
}

select.cobrador-bloqueado {
    pointer-events: none;
    background-color: #e9ecef;
}

.card.table-responsive.custom-scrollbar.signal-table h4 {
    padding-top: 10px;
}

/* ============================================================
   17/06/2026 | Estilos estándar para vistas de impresión (print-doc)
   Reutilizable en recibos, reportes y comprobantes impresos.
   ============================================================ */

@font-face {
    font-family: 'i2of5_S';
    src: url('../fonts/Interleaved2of5/2of5_S.woff');
}

@font-face {
    font-family: 'i2of5';
    src: url('../fonts/Interleaved2of5/2of5.woff');
}

@font-face {
    font-family: 'i2of5_L';
    src: url('../fonts/Interleaved2of5/2of5_L.woff');
}

@font-face {
    font-family: 'i2of5_XL';
    src: url('../fonts/Interleaved2of5/2of5_XL.woff');
}

@font-face {
    font-family: 'i2of5_XXL';
    src: url('../fonts/Interleaved2of5/2of5_XXL.woff');
}

.print-doc-page {
    margin: 0;
    padding: 8px;
    background: #fff;
    color: #1e293b;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.print-doc-page * {
    box-sizing: border-box;
}

.print-doc {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.45;
}

.print-doc__header {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 4px;
}

.print-doc__header td {
    vertical-align: top;
    padding: 10px;
}

.print-doc__header-brand {
    width: 33%;
}

.print-doc__header-title {
    width: 34%;
    text-align: center;
}

.print-doc__header-meta {
    width: 33%;
    text-align: right;
}

.print-doc__logo {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

.print-doc__sucursal {
    font-size: 12px;
    padding-top: 6px;
}

.print-doc__sucursal-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.print-doc__doc-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--theme-terciary, #2e3d61);
    padding: 8px 12px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.print-doc__meta-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--theme-terciary, #2e3d61);
    margin-bottom: 4px;
}

.print-doc__meta-date {
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
}

.print-doc__section {
    border-top: 1px solid #dbe3ef;
    border-bottom: 1px solid #dbe3ef;
    padding: 12px 24px;
    margin-top: 6px;
    background: #fafbfc;
}

.print-doc__section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--theme-secondary, #427c9f);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #dbe3ef;
}

.print-doc__party-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.print-doc__party-grid td {
    width: 50%;
    vertical-align: top;
    padding: 2px 0;
}

.print-doc__party-field {
    margin-bottom: 4px;
}

.print-doc__party-field:last-child {
    margin-bottom: 0;
}

.print-doc__party-field b {
    color: #64748b;
    font-weight: 600;
}

.print-doc__content {
    margin-top: 8px;
    padding: 0 10px;
}

.print-doc-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    overflow: hidden;
}

.print-doc-table thead {
    background: var(--theme-terciary, #2e3d61) !important;
    color: #fff !important;
}

.print-doc-table thead th {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    white-space: nowrap;
}

.print-doc-table tbody td {
    padding: 10px 12px;
    font-size: 12px;
    border-top: 1px solid #eef1f6;
    vertical-align: top;
}

.print-doc-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.print-doc-table .text-right,
.print-doc-table th.text-right {
    text-align: right;
}

.print-doc-table .text-center {
    text-align: center;
}

.print-doc__detail-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.print-doc__detail-sub strong {
    color: #334155;
}

.print-doc__notice {
    border-top: 1px solid #dbe3ef;
    border-bottom: 1px solid #dbe3ef;
    margin-top: 8px;
    padding: 12px 24px;
    font-size: 12px;
    background: #fffdf5;
}

.print-doc__notice-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--theme-terciary, #2e3d61);
}

.print-doc__footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    padding: 0 10px;
    clear: both;
}

.print-doc__signature {
    width: 200px;
    height: 110px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    position: relative;
    text-align: center;
    background: #fff;
}

.print-doc__signature-label {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.print-doc__payment-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    font-size: 12px;
}

.codigBarrasFont {
    font-family: i2of5_S, monospace;
    font-size: 28px;
    letter-spacing: 1px;
}

/* Alias legacy para migración gradual de otras impresiones */
.print-doc .tableDetalle {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dbe3ef;
}

.print-doc .tableDetalle thead {
    background: var(--theme-terciary, #2e3d61) !important;
    color: #fff !important;
    border: none;
}

.print-doc .tableDetalle thead th {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.print-doc .tableDetalle tbody td {
    padding: 10px 12px;
    font-size: 12px;
    border-top: 1px solid #eef1f6;
}

.print-doc .datosCliente .col-md-12,
.print-doc .factura .datosCliente .col-md-12 {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.print-doc-page--compact {
    font-size: 10px;
}

.print-doc-page--compact .print-doc {
    font-size: 10px;
}

.print-doc-page--compact .print-doc-table thead th,
.print-doc-page--compact .print-doc-table tbody td {
    font-size: 10px;
    padding: 6px 8px;
}

.print-doc-page .responsive_show_td {
    display: none !important;
}

.print-doc-page .responsive_hide_td {
    display: table-cell !important;
}

.print-doc__masthead {
    page-break-inside: avoid;
    break-inside: avoid;
    page-break-after: avoid;
    break-after: avoid;
}

.print-doc__credit-block {
    margin-top: 14px;
    page-break-inside: auto;
    break-inside: auto;
}

.print-doc__credit-block>.print-doc-table:first-of-type {
    page-break-inside: avoid;
    break-inside: avoid;
}

.print-doc__credit-block+.print-doc__credit-block {
    margin-top: 22px;
    padding-top: 10px;
    border-top: 2px solid #dbe3ef;
}

.print-doc__credit-cuotas {
    margin-top: 8px;
    margin-bottom: 28px;
}

.print-doc__content>.print-doc__credit-block:first-child {
    margin-top: 0;
}

.print-doc__status {
    font-weight: 700;
}

.print-doc__status--success {
    color: #15803d;
}

.print-doc__status--danger {
    color: #b91c1c;
}

.print-doc__status--info {
    color: #1d4ed8;
}

.print-doc__status--refinanciado {
    color: #6b6d42;
}

.print-doc__amount--ok {
    color: #15803d;
    font-weight: 600;
}

.print-doc__amount--deuda {
    color: #b91c1c;
    font-weight: 600;
}

.print-doc__liberado--ok {
    color: #15803d;
}

.print-doc__liberado--no {
    color: #b91c1c;
}

.print-doc-table tbody tr.print-doc__row--vencida td {
    background: #fef2f2 !important;
}

.print-doc__cuotas-summary {
    display: block;
    line-height: 1.5;
}

.print-doc__cuotas-summary .cuotas-ok {
    color: #15803d;
    display: block;
}

.print-doc__cuotas-summary .cuotas-danger {
    color: #b91c1c;
    display: block;
}

.print-doc__cuotas-summary .cuotas-info {
    color: #1d4ed8;
    display: block;
}

.print-doc__interes {
    color: #b91c1c;
}

.print-doc__pago-detalle {
    font-size: 10px;
    color: #475569;
    margin-top: 2px;
}

.print-doc__cell-meta {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
}

.print-doc__cell-empty {
    color: #94a3b8;
    font-style: italic;
}

.print-doc-table tfoot td {
    padding: 10px 12px;
    font-weight: 700;
    text-align: right;
    border-top: 2px solid #dbe3ef;
    background: #f8fafc;
    font-size: 11px;
}

.print-doc-page .listActions,
.print-doc-page .iconPrint,
.print-doc-page .iconPagar,
.print-doc-page .iconDelete,
.print-doc-page .iconDeleteCuota,
.print-doc-page .iconLiberar {
    display: none !important;
}

/* Contenido HTML inyectado desde reportes (r_creditos_impresion, etc.) */
.print-doc__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 10px 14px;
    margin: 8px 0 14px;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    font-size: 11px;
}

.print-doc__filter-item b {
    color: #64748b;
    font-weight: 600;
}

.print-doc__content-injected .responsive_show_full {
    display: none !important;
}

.print-doc__content-injected .responsive_hide_td_print {
    display: table-row !important;
}

.print-doc__content-injected .card,
.print-doc__content-injected .table-responsive {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.print-doc__content-injected .table,
.print-doc__content-injected table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dbe3ef;
    margin-bottom: 0;
    font-size: 10px;
}

.print-doc__content-injected .table thead,
.print-doc__content-injected table thead {
    background: var(--theme-terciary, #2e3d61) !important;
    color: #fff !important;
}

.print-doc__content-injected .table thead th,
.print-doc__content-injected table thead th {
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
    white-space: nowrap;
}

.print-doc__content-injected .table tbody td,
.print-doc__content-injected table tbody td {
    padding: 7px 10px;
    font-size: 10px;
    border-top: 1px solid #eef1f6;
    vertical-align: top;
}

.print-doc__content-injected .table tbody tr:nth-child(even) td,
.print-doc__content-injected table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.print-doc__content-injected tr.totalReporte td,
.print-doc__content-injected tr.responsive_hide_td_print td,
.print-doc__content-injected .table tbody tr:last-child td[colspan] {
    font-weight: 700;
    background: #f1f5f9 !important;
    border-top: 2px solid #dbe3ef;
}

.print-doc .contenidoReporte {
    margin-top: 4px;
}

.print-doc__notice--legal {
    text-align: justify;
    font-size: 11px;
    line-height: 1.5;
}

.print-doc__cae-block {
    border-top: 1px solid #dbe3ef;
    border-bottom: 1px solid #dbe3ef;
    margin-top: 8px;
    padding: 12px 24px;
    text-align: right;
    background: #f8fafc;
    font-size: 12px;
}

.print-doc__cae-copy-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: var(--theme-terciary, #2e3d61);
}

.print-doc__afip-qr {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.print-doc__afip-qr td {
    vertical-align: top;
    padding: 8px 12px;
}

.print-doc__afip-qr-image {
    width: 140px;
}

.print-doc__afip-qr-img {
    width: 125px;
    max-width: 100%;
    height: auto;
    display: block;
}

.print-doc__afip-qr-info img {
    width: 130px;
    max-height: 48px;
}

.print-doc__afip-qr-title {
    font-weight: 700;
    margin: 10px 0;
    font-size: 12px;
}

.print-doc__afip-qr-detail {
    font-size: 10px;
    font-style: italic;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 4px;
}

.print-doc__page-break {
    display: none;
}

@media print {
    .print-doc-page {
        margin: 0;
        padding: 0;
    }

    .print-doc-table thead,
    .print-doc .tableDetalle thead {
        background: var(--theme-terciary, #2e3d61) !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-doc__section {
        background: #fafbfc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-doc-table tbody tr.print-doc__row--vencida td {
        background: #fef2f2 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-doc__content-injected .table thead,
    .print-doc__content-injected table thead {
        background: var(--theme-terciary, #2e3d61) !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-doc__content-injected tr.totalReporte td,
    .print-doc__content-injected tr.responsive_hide_td_print td,
    .print-doc__content-injected .table tbody tr:last-child td[colspan] {
        background: #f1f5f9 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-doc__page-break {
        display: block;
        page-break-before: always;
    }

    .print-doc__masthead {
        page-break-inside: avoid;
        break-inside: avoid;
        page-break-after: avoid;
        break-after: avoid;
    }

    .print-doc__credit-block {
        page-break-inside: auto;
        break-inside: auto;
    }

    .print-doc-table thead {
        display: table-header-group;
    }

    .print-doc-table tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .print-doc__cae-block {
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.cobrador-bloqueado {
    pointer-events: none;
    background-color: #e9ecef;
    cursor: not-allowed;
}