/* ==========================================================
   PLATAFORMA BAZAR
   CSS PRINCIPAL - site.css
   Identidad visual basada en el logo NAPP
   ========================================================== */

:root {
    --bazar-primary: #1F9ACF;
    --bazar-primary-hover: #187EAB;
    --bazar-primary-dark: #235572;
    --bazar-primary-light: #DFF3FA;
    --bazar-background: #F4F8FA;
    --bazar-border: #D9E6EB;
    --bazar-text: #26343B;
    --bazar-muted: #687980;
    --bazar-white: #FFFFFF;
}

/* ==========================================================
   PLATAFORMA BAZAR - PALETA GLOBAL
   Azul institucional NAPP + escala de grises
   ========================================================== */

:root {
    --df-primary: #1F9ACF;
    --df-primary-hover: #187EAB;
    --df-primary-dark: #235572;
    --df-primary-light: #5BBCE0;
    --df-gray-950: #235572;
    --df-gray-900: #26343B;
    --df-gray-850: #304F60;
    --df-gray-800: #426474;
    --df-gray-700: #5D7784;
    --df-gray-600: #687980;
    --df-gray-500: #8A9AA1;
    --df-gray-400: #D9E6EB;
    --df-gray-300: #D9E6EB;
    --df-gray-100: #F4F8FA;
    --df-white: #FFFFFF;
    --df-text: #FAFAFA;
    --df-text-secondary: #D9E6EB;
    --df-muted: #8A9AA1;
    --df-success: #1F9ACF;
    --df-warning: #F59E0B;
    --df-danger: #EF4444;
    --df-info: #38BDF8;
}

:root {
    --brand-yellow: #1F9ACF;
    --brand-yellow-dark: #187EAB;
    --brand-black: #235572;
    --brand-black-soft: #26343B;
    --brand-green: #1F9ACF;
    --brand-green-dark: #235572;
    --brand-white: #ffffff;
    --surface: #F4F8FA;
    --border: #D9E6EB;
    --text: #26343B;
    --muted: #687980;
    --sidebar-width: 280px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--surface);
    color: var(--text);
}

/* Layout general */
.app-shell {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% -10%, rgba(255, 216, 0, .14), transparent 32%), linear-gradient(180deg, #235572 0%, #26343B 100%);
    border-right: 1px solid rgba(255, 216, 0, .12);
    box-shadow: 8px 0 30px rgba(0, 0, 0, .12);
    transition: transform .25s ease;
}

.main-wrapper {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Branding */
.sidebar-brand {
    padding: 20px 18px 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--brand-white);
    text-decoration: none;
}

.brand-logo {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 216, 0, .18);
}

    .brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.brand-company {
    color: var(--brand-yellow);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
}

.brand-system {
    margin-top: 3px;
    color: rgba(255,255,255,.72);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sidebar-divider {
    height: 1px;
    margin: 2px 18px 12px;
    background: linear-gradient(90deg, transparent, rgba(31,154,207,.30), transparent);
}

.sidebar-nav {
    padding: 0 12px;
    overflow-y: auto;
}

.sidebar-link {
    width: 100%;
    min-height: 48px;
    margin: 3px 0;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255,255,255,.78);
    background: transparent;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    text-align: left;
    transition: all .18s ease;
}

    .sidebar-link:hover {
        color: var(--brand-white);
        background: rgba(255,255,255,.07);
    }

    .sidebar-link i:first-child,
    .nav-link-content i {
        width: 22px;
        color: var(--brand-yellow);
        font-size: 1.05rem;
    }

    .sidebar-link.active {
        color: #111;
        background: var(--brand-yellow);
        box-shadow: 0 6px 18px rgba(31,154,207,.15);
    }

        .sidebar-link.active i:first-child,
        .sidebar-link.active .nav-link-content i {
            color: #111;
        }

.nav-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-chevron {
    transition: transform .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
}

/* Submenú */
.subnav {
    position: relative;
    margin: 0 0 5px 22px;
    padding: 4px 0 4px 16px;
    border-left: 1px solid rgba(31,154,207,.28);
}

.subnav-link {
    position: relative;
    min-height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.58);
    border-radius: 8px;
    text-decoration: none;
    font-size: .82rem;
    transition: all .18s ease;
}

    .subnav-link:hover {
        color: var(--brand-white);
        background: rgba(255,255,255,.06);
    }

    .subnav-link i {
        color: var(--brand-green);
    }

    .subnav-link.active {
        color: var(--brand-yellow);
        background: rgba(31,154,207,.08);
        font-weight: 700;
    }

.sidebar-footer {
    margin-top: auto;
    padding: 14px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(31,154,207,.30);
    border-radius: 10px;
    background: rgba(31,154,207,.08);
    color: var(--brand-white);
}

    .security-badge > i {
        color: #5BBCE0;
        font-size: 1.25rem;
    }

    .security-badge strong,
    .security-badge small {
        display: block;
    }

    .security-badge strong {
        font-size: .76rem;
    }

    .security-badge small {
        margin-top: 2px;
        color: rgba(255,255,255,.5);
        font-size: .67rem;
    }

/* Barra superior */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.sidebar-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--brand-black);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

    .sidebar-toggle:hover {
        color: #111;
        background: rgba(31,154,207,.06);
        border-color: rgba(31,154,207,.60);
    }

    .sidebar-toggle i {
        font-size: 1.35rem;
    }

.topbar-kicker {
    display: block;
    color: var(--brand-green-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topbar-title h1 {
    margin: 2px 0 0;
    font-size: 1.15rem;
    font-weight: 750;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    width: 42px;
    height: 42px;
    color: #4b5563;
    border: 1px solid var(--border);
    border-radius: 10px;
}

    .icon-button:hover {
        color: #111;
        background: rgba(31,154,207,.06);
        border-color: rgba(31,154,207,.60);
    }

.user-menu {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

    .user-menu:hover,
    .user-menu:focus {
        border-color: rgba(31,154,207,.70);
        background: rgba(31,154,207,.05);
    }

    .user-menu strong,
    .user-menu small {
        display: block;
    }

    .user-menu strong {
        font-size: .78rem;
    }

    .user-menu small {
        color: var(--muted);
        font-size: .68rem;
    }

.user-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #111;
    background: var(--brand-yellow);
    border-radius: 50%;
}

/* Contenido */
.content-area {
    flex: 1;
    min-width: 0;
}

.app-footer {
    min-height: 58px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--border);
    font-size: .75rem;
}

.footer-separator {
    margin: 0 6px;
    color: var(--brand-yellow-dark);
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .footer-status i {
        color: var(--brand-green);
        font-size: .45rem;
    }

/* Overlay */
.sidebar-overlay {
    display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.mobile-open {
            transform: translateX(0);
        }

    .main-wrapper {
        width: 100%;
        margin-left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 1030;
        background: rgba(24,24,27,.55);
        backdrop-filter: blur(2px);
    }

        .sidebar-overlay.show {
            display: block;
        }

    .topbar {
        padding: 12px 16px;
    }
}

@media (max-width: 575.98px) {
    .topbar-title h1 {
        font-size: 1rem;
    }

    .topbar-kicker {
        display: none;
    }

    .app-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .subnav {
        margin-left: 12px;
        padding-left: 10px;
    }

    .subnav-link {
        min-height: 42px;
        padding: 0 10px;
        font-size: .85rem;
    }
}

/* ==========================================================
   FIRE SYSTEM — CAPA VISUAL INSTITUCIONAL
   Esta sección prevalece sobre los estilos históricos.
   ========================================================== */
:root {
    --fire-navy-950: #071624;
    --fire-navy-900: #0B2239;
    --fire-navy-800: #123654;
    --fire-navy-700: #1D4A6B;
    --fire-red-700: #B5081B;
    --fire-red-600: #D30B24;
    --fire-red-500: #EA1B32;
    --fire-red-100: #FDE8EB;
    --fire-silver: #D8E0E7;
    --fire-surface: #F4F6F8;
    --fire-white: #FFFFFF;
    --fire-text: #172A3A;
    --fire-muted: #647482;
    --fire-border: #D7E0E7;
    --fire-success: #18794E;
    --fire-warning: #B7791F;
    --fire-danger: #C6283D;
    --bazar-primary: var(--fire-red-600);
    --bazar-primary-hover: var(--fire-red-700);
    --bazar-primary-dark: var(--fire-navy-900);
    --bazar-primary-light: var(--fire-red-100);
    --bazar-background: var(--fire-surface);
    --bazar-border: var(--fire-border);
    --bazar-text: var(--fire-text);
    --bazar-muted: var(--fire-muted);
    --brand-yellow: var(--fire-red-500);
    --brand-yellow-dark: var(--fire-red-700);
    --brand-black: var(--fire-navy-900);
    --brand-black-soft: var(--fire-navy-950);
    --brand-green: var(--fire-red-500);
    --brand-green-dark: var(--fire-navy-700);
    --surface: var(--fire-surface);
    --border: var(--fire-border);
    --text: var(--fire-text);
    --muted: var(--fire-muted);
}

body {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--fire-text);
    background:
        radial-gradient(circle at 100% 0, rgba(211, 11, 36, .045), transparent 26rem),
        var(--fire-surface);
}

a {
    color: var(--fire-red-700);
}

a:hover {
    color: var(--fire-red-600);
}

.sidebar {
    background:
        radial-gradient(circle at 35% 0, rgba(234, 27, 50, .18), transparent 16rem),
        linear-gradient(180deg, var(--fire-navy-900), var(--fire-navy-950));
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 10px 0 34px rgba(7, 22, 36, .16);
}

.sidebar-brand {
    padding: 20px 18px 18px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.brand-logo img {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .28));
}

.brand-company {
    color: var(--fire-white);
    font-size: .93rem;
    letter-spacing: .095em;
}

.brand-system {
    color: rgba(255, 255, 255, .58);
    font-size: .68rem;
}

.sidebar-divider {
    background: linear-gradient(90deg, var(--fire-red-600), rgba(234, 27, 50, .1));
}

.sidebar-link,
.subnav-link {
    color: rgba(255, 255, 255, .72);
}

.sidebar-link i:first-child,
.nav-link-content i,
.subnav-link i {
    color: #FF6678;
}

.sidebar-link:hover,
.subnav-link:hover {
    color: var(--fire-white);
    background: rgba(255, 255, 255, .075);
}

.sidebar-link.active {
    color: var(--fire-white);
    background: linear-gradient(135deg, var(--fire-red-600), var(--fire-red-700));
    box-shadow: 0 8px 20px rgba(181, 8, 27, .28);
}

.sidebar-link.active i:first-child,
.sidebar-link.active .nav-link-content i {
    color: var(--fire-white);
}

.subnav {
    border-left-color: rgba(234, 27, 50, .42);
}

.subnav-link.active {
    color: #FF8C9A;
    background: rgba(234, 27, 50, .1);
}

.security-badge {
    border-color: rgba(234, 27, 50, .25);
    background: rgba(234, 27, 50, .08);
}

.security-badge > i {
    color: #FF6678;
}

.topbar {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--fire-border);
    box-shadow: 0 5px 18px rgba(11, 34, 57, .045);
}

.topbar-kicker {
    color: var(--fire-red-700);
}

.topbar-title h1 {
    color: var(--fire-navy-900);
}

.sidebar-toggle:hover,
.user-menu:hover,
.user-menu:focus {
    color: var(--fire-red-700);
    background: var(--fire-red-100);
    border-color: rgba(211, 11, 36, .35);
}

.user-avatar {
    color: var(--fire-white);
    background: linear-gradient(135deg, var(--fire-red-500), var(--fire-red-700));
}

.app-footer {
    color: var(--fire-muted);
    background: rgba(255, 255, 255, .88);
}

.app-footer strong {
    color: var(--fire-navy-900);
}

.footer-separator {
    color: var(--fire-red-600);
}

.form-title {
    margin: 0 0 1.25rem !important;
    padding: 0 0 .9rem !important;
    text-align: left;
    border-bottom: 1px solid var(--fire-border);
}

.form-title h1 {
    margin: 0 !important;
    color: var(--fire-navy-900);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 750;
    text-align: left !important;
}

.form-title h1::after {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    margin-top: .65rem;
    border-radius: 99px;
    background: var(--fire-red-600);
}

.form-section,
.personalFormManualWith,
.tableFormManualWith,
.card,
.modal-content {
    border-color: var(--fire-border) !important;
    border-radius: 14px;
}

.form-section,
.personalFormManualWith,
.tableFormManualWith {
    background: var(--fire-white);
    box-shadow: 0 10px 28px rgba(11, 34, 57, .065);
}

.form-control,
.form-select {
    min-height: 43px;
    color: var(--fire-text);
    border-color: #C9D4DD;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--fire-red-500);
    box-shadow: 0 0 0 .2rem rgba(211, 11, 36, .14);
}

.form-check-input:checked {
    background-color: var(--fire-red-600);
    border-color: var(--fire-red-600);
}

label,
.form-label {
    color: var(--fire-navy-800);
    font-weight: 650;
}

.btn {
    min-height: 40px;
    border-radius: 8px;
    font-weight: 650;
}

.btn-primary,
.tableFormManualWith .btn-success {
    color: var(--fire-white) !important;
    background: linear-gradient(135deg, var(--fire-red-600), var(--fire-red-700)) !important;
    border-color: var(--fire-red-700) !important;
    box-shadow: 0 5px 12px rgba(181, 8, 27, .14);
}

.btn-primary:hover,
.tableFormManualWith .btn-success:hover {
    background: var(--fire-navy-900) !important;
    border-color: var(--fire-navy-900) !important;
    box-shadow: 0 7px 16px rgba(11, 34, 57, .18);
}

.btn-secondary {
    color: var(--fire-white);
    background: var(--fire-navy-700);
    border-color: var(--fire-navy-700);
}

.btn-outline-primary {
    color: var(--fire-red-700);
    border-color: var(--fire-red-600);
}

.btn-outline-primary:hover {
    color: var(--fire-white);
    background: var(--fire-red-600);
    border-color: var(--fire-red-600);
}

.tableFormManualWith .table-responsive,
.table-responsive {
    border-color: var(--fire-border) !important;
    border-radius: 12px;
}

.tableFormManualWith .table-responsive > table.table thead th,
.table thead th {
    color: var(--fire-white);
    background: var(--fire-navy-900) !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #F8FAFB;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: #FDECEF;
}

.table a {
    color: var(--fire-red-700);
    font-weight: 650;
}

.card-header,
.modal-header {
    color: var(--fire-navy-900);
    background: #F8FAFB;
    border-color: var(--fire-border);
}

.text-success,
.bi-check-circle-fill {
    color: var(--fire-success) !important;
}

.text-danger,
.bi-x-circle-fill {
    color: var(--fire-danger) !important;
}

.alert-danger {
    color: #7F1D2D;
    background: #FDE8EB;
    border-color: #F8BCC5;
}

/* Portada */
.home-hero {
    position: relative;
    min-height: 350px;
    padding: clamp(2rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    color: var(--fire-white);
    background:
        radial-gradient(circle at 90% 18%, rgba(234, 27, 50, .28), transparent 19rem),
        linear-gradient(135deg, var(--fire-navy-900), var(--fire-navy-950));
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(7, 22, 36, .16);
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.1rem;
    color: #FF9AA7;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero h2 {
    max-width: 680px;
    margin: 0;
    color: var(--fire-white);
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.home-hero p {
    max-width: 660px;
    margin: 1.25rem 0 1.65rem;
    color: rgba(255, 255, 255, .72);
    font-size: 1.02rem;
    line-height: 1.65;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.home-hero .btn-outline-secondary {
    color: var(--fire-white);
    border-color: rgba(255, 255, 255, .34);
}

.home-hero .btn-outline-secondary:hover {
    color: var(--fire-navy-900);
    background: var(--fire-white);
    border-color: var(--fire-white);
}

.home-hero-mark {
    display: grid;
    place-items: center;
}

.home-hero-mark img {
    width: min(100%, 280px);
    height: auto;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .32));
}

.home-modules {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.module-card {
    min-height: 112px;
    padding: 1.15rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .9rem;
    color: var(--fire-text);
    background: var(--fire-white);
    border: 1px solid var(--fire-border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(11, 34, 57, .055);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.module-card:hover {
    color: var(--fire-text);
    border-color: rgba(211, 11, 36, .35);
    box-shadow: 0 12px 28px rgba(11, 34, 57, .1);
    transform: translateY(-2px);
}

.module-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--fire-white);
    background: linear-gradient(135deg, var(--fire-red-500), var(--fire-red-700));
    border-radius: 12px;
    font-size: 1.2rem;
}

.module-card strong,
.module-card small {
    display: block;
}

.module-card strong {
    color: var(--fire-navy-900);
}

.module-card small {
    margin-top: .2rem;
    color: var(--fire-muted);
}

.module-card > .bi-arrow-right {
    color: var(--fire-red-600);
}

@media (max-width: 991.98px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-mark {
        display: none;
    }

    .home-modules {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        min-height: auto;
        padding: 1.65rem 1.25rem;
        border-radius: 14px;
    }

    .home-hero h2 {
        font-size: 2rem;
    }

    .home-hero-actions .btn {
        width: 100%;
    }
}

/* Prioridad final para las tablas de mantenedores heredadas. */
.tableFormManualWith .table-responsive {
    border: 1px solid var(--table-border, #D9E6EB);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(35, 85, 114, .06);
}

.tableFormManualWith .table-responsive > table.table {
    width: 100% !important;
    min-width: 680px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .875rem;
    line-height: 1.3;
}

.tableFormManualWith .table-responsive > table.table thead th {
    padding: .72rem .75rem;
    background: var(--bazar-primary-dark, #235572);
    border-color: rgba(255, 255, 255, .16) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .78rem;
    text-transform: uppercase;
}

.tableFormManualWith .table-responsive > table.table tbody td {
    padding: .68rem .75rem;
    border-color: var(--table-border, #D9E6EB) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: inherit;
}

.tableFormManualWith .table-responsive > table.table tbody tr:hover td {
    background-color: rgba(31, 154, 207, .07) !important;
}

@media (max-width: 991.98px) {
    .tableFormManualWith .table-responsive > table.table {
        min-width: 620px !important;
        font-size: .8125rem;
    }

    .tableFormManualWith .table-responsive > table.table th,
    .tableFormManualWith .table-responsive > table.table td {
        padding: .58rem .62rem;
    }
}

@media (max-width: 767.98px) {
    .tableFormManualWith .table-responsive > table.table {
        min-width: 560px !important;
        font-size: .75rem;
    }

    .tableFormManualWith .table-responsive > table.table th,
    .tableFormManualWith .table-responsive > table.table td {
        padding: .5rem .55rem;
    }

    .tableFormManualWith .table-responsive > table.table thead th {
        font-size: .68rem;
    }
}

@media (max-width: 575.98px) {
    .tableFormManualWith .table-responsive > table.table {
        min-width: 510px !important;
        font-size: .72rem;
    }

    .tableFormManualWith .table-responsive > table.table th,
    .tableFormManualWith .table-responsive > table.table td {
        padding: .45rem .48rem;
    }
}

/* ==========================================================
   ESTÁNDAR TRANSVERSAL DE TABLAS
   Se aplica a mantenedores, ventas, detalle, checkout y modales.
   ========================================================== */

.table-responsive {
    border: 1px solid var(--table-border, #D9E6EB);
    border-radius: 10px;
    background: var(--table-background, #FFFFFF);
    box-shadow: 0 3px 12px rgba(35, 85, 114, .06);
    -webkit-overflow-scrolling: touch;
}

.table-responsive > table.table {
    width: 100%;
    min-width: 680px;
    margin-bottom: 0;
    color: var(--table-text, #26343B);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .875rem;
    line-height: 1.3;
    white-space: nowrap;
}

.table-responsive > table.table > :not(caption) > * > * {
    padding: .68rem .75rem;
    border-color: var(--table-border, #D9E6EB);
    vertical-align: middle;
}

.table-responsive > table.table thead th {
    padding: .72rem .75rem;
    color: #FFFFFF;
    background: var(--bazar-primary-dark, #235572);
    border-color: rgba(255, 255, 255, .16);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.table-responsive > table.table thead .text-start { text-align: left !important; }
.table-responsive > table.table thead .text-center { text-align: center !important; }
.table-responsive > table.table thead .text-end { text-align: right !important; }

.table-responsive > table.table tbody tr {
    transition: background-color .15s ease;
}

.table-responsive > table.table tbody tr:hover > * {
    background-color: rgba(31, 154, 207, .07) !important;
}

.table-responsive > table.table tbody td a {
    color: var(--bazar-primary-dark, #235572);
    font-weight: 600;
}

/* Elimina anchos y fuentes ligados a posiciones de columnas de tablas anteriores. */
.tableFormManualWith .table-responsive > table.table,
.tableFormManualWith .table-responsive > table.table tbody td,
.tableFormManualWith .table-responsive > table.table tbody td:first-child,
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(2),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(3),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(4),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(5),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(6),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(7),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(8),
.tableFormManualWith .table-responsive > table.table tbody td:nth-child(9) {
    min-width: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.tableFormManualWith .table-responsive > table.table {
    width: 100% !important;
    min-width: 680px !important;
    max-width: none !important;
}

@media (max-width: 991.98px) {
    .table-responsive > table.table,
    .tableFormManualWith .table-responsive > table.table {
        min-width: 620px !important;
        font-size: .8125rem;
    }

    .table-responsive > table.table > :not(caption) > * > *,
    .table-responsive > table.table thead th {
        padding: .58rem .62rem;
    }
}

@media (max-width: 767.98px) {
    .table-responsive {
        border-radius: 8px;
    }

    .table-responsive > table.table,
    .tableFormManualWith .table-responsive > table.table {
        min-width: 560px !important;
        font-size: .75rem;
    }

    .table-responsive > table.table > :not(caption) > * > *,
    .table-responsive > table.table thead th {
        padding: .5rem .55rem;
    }

    .table-responsive > table.table thead th {
        font-size: .68rem;
    }
}

@media (max-width: 575.98px) {
    .table-responsive > table.table,
    .tableFormManualWith .table-responsive > table.table {
        min-width: 510px !important;
        font-size: .72rem;
    }

    .table-responsive > table.table > :not(caption) > * > *,
    .table-responsive > table.table thead th {
        padding: .45rem .48rem;
    }
}

/* ==========================================================
   PUNTO DE VENTA
   ========================================================== */
.checkout-title {
    width: 100%;
    max-width: 1100px;
    margin: 0 0 20px;
    padding: 24px 30px;
    text-align: center;
    background: linear-gradient(135deg, #235572 0%, #26343B 100%);
    border: 1px solid rgba(31, 154, 207, .35);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(35, 85, 114, .16);
}

.checkout-title h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 750;
}

.checkout-title h1 i {
    color: var(--socios-yellow);
}

.checkout-title p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.checkout-workspace {
    width: 100%;
    max-width: 1100px;
    margin: 0;
    text-align: left;
}

.checkout-actions {
    width: 100%;
    max-width: 1100px;
    margin: 0 0 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--socios-border);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.checkout-actions .btn {
    min-height: 40px;
    font-weight: 600;
}

#productSearchModal .modal-header {
    color: #fff;
    background: #235572;
}

#productSearchModal .btn-close {
    filter: invert(1);
}

#productSearchItems tr[data-product-code] {
    cursor: pointer;
}

.checkout-entry {
    width: 100%;
    max-width: 1100px;
    margin: 0;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--socios-border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
    position: relative;
    overflow: hidden;
}

.checkout-entry::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--socios-yellow), var(--socios-green));
}

.checkout-entry .row {
    row-gap: 14px;
}

.checkout-entry label {
    display: block;
    margin-bottom: 7px;
    color: var(--socios-text);
    font-size: .9rem;
    font-weight: 600;
}

.checkout-entry .form-control {
    min-height: 52px;
    border-color: var(--socios-border);
}

.checkout-entry .btn {
    min-height: 52px;
}

.checkout-cart {
    max-width: 1100px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--table-border);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.checkout-cart table {
    margin-bottom: 0;
}

.checkout-cart tfoot th {
    background: #edf7fb;
    color: var(--socios-black);
    font-size: 1.05rem;
}

.checkout-quantity {
    min-width: 88px;
}

@media (max-width: 767.98px) {
    .checkout-title {
        max-width: 100%;
        padding: 20px 16px;
    }

    .checkout-title h1 {
        font-size: 1.25rem;
    }

    .checkout-entry {
        padding: 22px 18px;
    }

    .checkout-workspace,
    .checkout-actions,
    .checkout-entry,
    .checkout-cart {
        max-width: 100%;
    }
}

.sidebar-toggle {
    display: none !important;
}

/* Solo mostrar el botón en dispositivos móviles/tablet */
@media (max-width: 991.98px) {
    .sidebar-toggle {
        display: grid !important;
    }
}


/* ==========================================================
   FORMULARIO PRINCIPAL DE BAZAR
   PLATAFORMA BAZAR
   Bootstrap 5
   ========================================================== */

:root {
    --socios-yellow: #1F9ACF;
    --socios-yellow-hover: #187EAB;
    --socios-black: #235572;
    --socios-black-soft: #26343B;
    --socios-green: #1F9ACF;
    --socios-green-dark: #235572;
    --socios-bg: #F4F8FA;
    --socios-border: #D9E6EB;
    --socios-text: #26343B;
    --socios-muted: #687980;
}


/* ==========================================================
   FORMULARIO PRINCIPAL
   ========================================================== */

#frm {
    width: 100%;
    max-width: 800px !important;
    margin: 0 auto;
}


    /* ==========================================================
   SECCIÓN DEL FORMULARIO
   ========================================================== */

    #frm .form-section {
        background: #FFFFFF;
        padding: 30px;
        border-radius: 14px;
        border: 1px solid #D9E6EB;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
        position: relative;
        overflow: hidden;
    }


        /*
 Línea institucional
*/

        #frm .form-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient( 90deg, var(--socios-yellow), var(--socios-yellow), var(--socios-green) );
        }


    /* ==========================================================
   ROW
   ========================================================== */

    #frm .row {
        row-gap: 20px;
    }


    /* ==========================================================
   LABELS
   ========================================================== */

    #frm label {
        display: block;
        margin-bottom: 7px;
        color: var(--socios-text);
        font-size: 0.84rem;
        font-weight: 600;
    }


        /*
 Indicador visual de campo requerido
 si posteriormente agregas .required
*/

        #frm label .required {
            color: #EF4444;
            margin-left: 3px;
        }


    /* ==========================================================
   INPUTS
   ========================================================== */

    #frm .form-control {
        min-height: 44px;
        padding: 9px 13px;
        color: var(--socios-text);
        background-color: #FFFFFF;
        border: 1px solid var(--socios-border);
        border-radius: 8px;
        font-size: 0.88rem;
        transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    }


        /* Hover */

        #frm .form-control:hover {
            border-color: #687980;
        }


        /* Focus */

        #frm .form-control:focus {
            color: var(--socios-text);
            background-color: #FFFFFF;
            border-color: var(--socios-yellow);
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.16);
        }


        /* Placeholder */

        #frm .form-control::placeholder {
            color: #8A9AA1;
            opacity: 1;
        }


    /* ==========================================================
   SELECT
   ========================================================== */

    #frm select.form-control {
        cursor: pointer;
        appearance: auto;
    }


        /* Select activo */

        #frm select.form-control:focus {
            border-color: var(--socios-yellow);
            box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.16);
        }


    /* ==========================================================
   SELECT DESHABILITADO
   ========================================================== */

    #frm .form-control:disabled,
    #frm .form-control[disabled] {
        background-color: #F4F8FA;
        color: #8A9AA1;
        cursor: not-allowed;
        opacity: 1;
        border-color: #E1E4E7;
    }


    /* ==========================================================
   INPUT DATE
   ========================================================== */

    #frm input[type="date"] {
        cursor: pointer;
    }


    /* ==========================================================
   INPUT NUMBER
   ========================================================== */

    #frm input[type="number"] {
        text-align: left;
    }


    /* ==========================================================
   ESPACIADO ENTRE CAMPOS
   ========================================================== */

    #frm .col-xxl-6,
    #frm .col-xl-6,
    #frm .col-lg-6,
    #frm .col-md-6,
    #frm .col-md-12,
    #frm .col-sm-12 {
        position: relative;
    }


    /* ==========================================================
   VALIDACIÓN ASP.NET
   ========================================================== */

    #frm .field-validation-error {
        display: block;
        margin-top: 5px;
        color: #EF4444;
        font-size: 0.75rem;
        font-weight: 500;
    }


    /* Inputs con error */

    #frm .input-validation-error {
        border-color: #EF4444 !important;
        background-color: rgba(239,68,68,.05);
    }


        /* Focus con error */

        #frm .input-validation-error:focus {
            border-color: #EF4444 !important;
            box-shadow: 0 0 0 3px rgba(220, 53, 69, .12);
        }


    /* ==========================================================
   VALIDATION SUMMARY
   ========================================================== */

    #frm [data-valmsg-summary="true"] {
        margin-top: 20px;
        padding: 12px 15px;
        color: #B91C1C;
        background: rgba(239,68,68,.08);
        border: 1px solid rgba(239,68,68,.25);
        border-radius: 8px;
        font-size: 0.82rem;
    }


        #frm [data-valmsg-summary="true"]:empty {
            display: none;
        }


        #frm [data-valmsg-summary="true"] ul {
            margin: 0;
            padding-left: 20px;
        }


    /* ==========================================================
   BOTONES
   ========================================================== */

    #frm .botonesOpciones {
        margin-top: 8px;
    }

        #frm .botonesOpciones a, #frm .botonesOpciones #btnSubmit {
            height: 35px;
            font-size: 16px;
            font-weight: 500;
        }

    /* Botón principal */
    #frm #btnSubmit {
        width: 100% !important;
        padding: 5px 10px;
        color: var(--socios-black);
        background-color: var(--socios-yellow);
        border: 1px solid var(--socios-yellow);
        border-radius: 8px;
        letter-spacing: .01em;
        transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
        height: 40px;
    }


        /* Hover */

        #frm #btnSubmit:hover {
            color: var(--socios-black);
            background-color: var(--socios-yellow-hover);
            border-color: var(--socios-yellow-hover);
            transform: translateY(-1px);
            box-shadow: 0 5px 15px rgba(255, 216, 0, .25);
        }


        /* Click */

        #frm #btnSubmit:active {
            transform: translateY(0);
            box-shadow: none;
        }


        /* Focus */

        #frm #btnSubmit:focus {
            color: var(--socios-black);
            background-color: var(--socios-yellow);
            border-color: var(--socios-yellow);
            box-shadow: 0 0 0 3px rgba(255, 216, 0, .25);
        }


        /* ==========================================================
   BOTÓN DESHABILITADO
   ========================================================== */

        #frm #btnSubmit:disabled {
            color: #687980;
            background-color: #D9E6EB;
            border-color: #D9E6EB;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }


/* ==========================================================
   ESTILO PARA RUT
   ========================================================== */

#Dni {
    text-transform: uppercase;
    letter-spacing: .03em;
}


/* ==========================================================
   TELÉFONO
   ========================================================== */

#ContactPhone {
    letter-spacing: .02em;
}


/* ==========================================================
   CORREO
   ========================================================== */

#MailPersonal {
    text-transform: lowercase;
}


/* ==========================================================
   AUTOFILL CHROME
   ========================================================== */

#frm input:-webkit-autofill,
#frm input:-webkit-autofill:hover,
#frm input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--socios-text);
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
    transition: background-color 5000s ease-in-out 0s;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {

    #frm {
        max-width: 100% !important;
    }

        #frm .form-section {
            padding: 25px;
        }
}


/* ==========================================================
   MÓVILES
   ========================================================== */

@media (max-width: 767.98px) {

    #frm .form-section {
        padding: 20px 16px;
        border-radius: 10px;
    }

    #frm .row {
        row-gap: 16px;
    }

    #frm .form-control {
        min-height: 43px;
        font-size: 0.86rem;
    }

    #frm label {
        font-size: 0.82rem;
    }

    #frm #btnSubmit {
        min-height: 46px;
    }
}


/* ==========================================================
   MÓVILES PEQUEÑOS
   ========================================================== */

@media (max-width: 575.98px) {

    #frm .form-section {
        padding: 18px 14px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
    }

    #frm .form-control {
        min-height: 42px;
        padding: 8px 11px;
    }
}

/* ==========================================================
   TABLAS DE BAZAR
   Bootstrap 5 + Identidad PLATAFORMA BAZAR
   ========================================================== */

:root {
    --table-yellow: #1F9ACF;
    --table-yellow-dark: #187EAB;
    --table-black: #235572;
    --table-green: #1F9ACF;
    --table-green-dark: #235572;
    --table-border: #D9E6EB;
    --table-hover: rgba(31,154,207,.06);
    --table-background: #FFFFFF;
    --table-text: #26343B;
    --table-muted: #687980;
}


/* ==========================================================
   TABLAS - RESPONSIVE + SCROLL HORIZONTAL
   PLATAFORMA BAZAR
   Bootstrap 5
   ========================================================== */

/* ----------------------------------------------------------
   CONTENEDOR PRINCIPAL
   ---------------------------------------------------------- */

.tableFormManualWith {
    width: 100%;
    max-width: 100%;
    /*
       MUY IMPORTANTE cuando el contenedor está dentro
       de flex/grid.
    */
    min-width: 0;
    margin: 0 auto;
}


    /* ----------------------------------------------------------
   BOTÓN / ACCIONES
   ---------------------------------------------------------- */

    .tableFormManualWith > div:first-child {
        display: flex;
        width: 100%;
        margin-bottom: 12px !important;
    }


    /* ----------------------------------------------------------
   CONTENEDOR CON SCROLL
   ---------------------------------------------------------- */

    .tableFormManualWith .table-responsive {
        /*
       Permite que el contenedor se adapte al viewport
    */
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        /*
       ESTA ES LA PARTE IMPORTANTE
    */
        overflow-x: auto;
        overflow-y: hidden;
        /*
       Scroll táctil
    */
        -webkit-overflow-scrolling: touch;
        /*
       Evita que el contenido provoque scroll
       en toda la página.
    */
        overscroll-behavior-x: contain;
        /*
       Apariencia
    */
        border: 1px solid var(--table-border, #D9E6EB);
        border-radius: 12px;
        background: #FFFFFF;
        box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
        /*
       Scrollbar Firefox
    */
        scrollbar-width: thin;
        scrollbar-color: #687980 #F4F8FA;
    }


        /* ----------------------------------------------------------
   TABLA
   ---------------------------------------------------------- */

        /*
   IMPORTANTE:

   NO usamos solamente width:100%.

   max-content obliga a la tabla a conservar el ancho
   necesario para sus columnas.

   min-width:100% hace que cuando haya pocas columnas
   igualmente ocupe todo el contenedor.
*/

        .tableFormManualWith .table-responsive > table {
            width: max-content !important;
            min-width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            border-collapse: separate;
            border-spacing: 0;
            white-space: nowrap;
            table-layout: auto;
        }


        /* ----------------------------------------------------------
   ASEGURAR QUE TH Y TD NO SE COMPRIMAN
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table th,
        .tableFormManualWith .table-responsive table td {
            white-space: nowrap;
            vertical-align: middle;
        }


        /* ----------------------------------------------------------
   ENCABEZADO
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table thead th {
            position: sticky;
            top: 0;
            z-index: 2;
            padding: 12px 10px;
            color: #FFFFFF;
            background-color: #235572;
            border-color: #426474 !important;
            font-size: .75rem;
            font-weight: 700;
            letter-spacing: .02em;
            text-align: center;
            vertical-align: middle;
            white-space: nowrap;
        }


        /*
   Línea institucional
*/

        .tableFormManualWith .table-responsive table thead {
            border-bottom: 3px solid #1F9ACF;
        }


        /* ----------------------------------------------------------
   CUERPO
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td {
            padding: 11px 10px;
            color: #26343B;
            border-color: #D9E6EB !important;
            vertical-align: middle;
            white-space: nowrap;
        }


        /* ----------------------------------------------------------
   HOVER
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody tr:hover td {
            background-color: rgba(34, 197, 94, .06) !important;
        }


        /* ----------------------------------------------------------
   ENLACES
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td a {
            color: #235572;
            font-weight: 600;
            text-decoration: none;
        }


            .tableFormManualWith .table-responsive table tbody td a:hover {
                color: #166534;
                text-decoration: underline;
            }


        /* ----------------------------------------------------------
   NOMBRE
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td:first-child {
            min-width: 220px;
            text-align: left;
        }


            .tableFormManualWith .table-responsive table tbody td:first-child a {
                color: #235572;
                font-weight: 700;
            }


        /* ----------------------------------------------------------
   RUN
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td:nth-child(2) {
            min-width: 105px;
            text-align: right;
            font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
        }


        /* ----------------------------------------------------------
   EMAIL
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td:nth-child(3) {
            min-width: 180px;
            text-align: left;
        }


        /* ----------------------------------------------------------
   DÍA
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td:nth-child(4) {
            min-width: 70px;
            text-align: center;
        }


        /* ----------------------------------------------------------
   VALIDADO / TBK
   ---------------------------------------------------------- */

        .tableFormManualWith .table-responsive table tbody td:nth-child(5),
        .tableFormManualWith .table-responsive table tbody td:nth-child(6) {
            min-width: 75px;
            text-align: center;
        }


    /* ----------------------------------------------------------
   ICONOS DE ESTADO
   ---------------------------------------------------------- */

    .tableFormManualWith .bi-check-circle-fill {
        color: #1F9ACF !important;
        font-size: 1rem;
    }


    /* ----------------------------------------------------------
   TOTAL APORTES
   ---------------------------------------------------------- */

    .tableFormManualWith .table-responsive table tbody td:nth-child(7) {
        min-width: 120px;
        text-align: right;
        font-weight: 700;
    }


    /* ----------------------------------------------------------
   USUARIO
   ---------------------------------------------------------- */

    .tableFormManualWith .table-responsive table tbody td:nth-child(8) {
        min-width: 180px;
        text-align: left;
        color: #687980;
        font-size: .78rem;
    }


    /* ----------------------------------------------------------
   FECHA
   ---------------------------------------------------------- */

    .tableFormManualWith .table-responsive table tbody td:nth-child(9) {
        min-width: 160px;
        text-align: left;
        color: #687980;
        font-size: .78rem;
    }


    /* ----------------------------------------------------------
   SCROLLBAR CHROME / EDGE
   ---------------------------------------------------------- */

    .tableFormManualWith .table-responsive::-webkit-scrollbar {
        height: 9px;
    }


    .tableFormManualWith .table-responsive::-webkit-scrollbar-track {
        background: #F4F8FA;
        border-radius: 10px;
    }


    .tableFormManualWith .table-responsive::-webkit-scrollbar-thumb {
        background: #687980;
        border-radius: 10px;
        border: 2px solid #F4F8FA;
    }


        .tableFormManualWith .table-responsive::-webkit-scrollbar-thumb:hover {
            background: #1F9ACF;
        }


    /* ----------------------------------------------------------
   BOTÓN NUEVO
   ---------------------------------------------------------- */

    .tableFormManualWith .btn-success {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 40px;
        padding: 8px 16px;
        color: #FFFFFF;
        background-color: #1F9ACF;
        border: 1px solid #1F9ACF;
        border-radius: 8px;
        font-size: .84rem;
        font-weight: 700;
        transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
    }


        .tableFormManualWith .btn-success:hover {
            color: #FFFFFF;
            background-color: #235572;
            border-color: #235572;
            transform: translateY(-1px);
            box-shadow: 0 5px 12px rgba(34, 197, 94, .20);
        }


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 991.98px) {

    .tableFormManualWith .table-responsive > table {
        min-width: 1050px !important;
    }

    .tableFormManualWith
    .table-responsive
    table
    th,
    .tableFormManualWith
    .table-responsive
    table
    td {
        padding: 10px 8px;
    }
}


/* ----------------------------------------------------------
   MÓVIL
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .tableFormManualWith {
        width: 100%;
        min-width: 0;
    }


        .tableFormManualWith .table-responsive {
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            border-radius: 8px;
        }


            /*
       La tabla deliberadamente será más ancha
       que el teléfono.
    */

            .tableFormManualWith .table-responsive > table {
                width: max-content !important;
                min-width: 1050px !important;
                max-width: none !important;
            }


            .tableFormManualWith
            .table-responsive
            table {
                font-size: .80rem;
            }


                .tableFormManualWith
                .table-responsive
                table
                th,
                .tableFormManualWith
                .table-responsive
                table
                td {
                    padding: 9px 8px;
                }


        /*
       Botón principal ocupa todo el ancho
    */

        .tableFormManualWith > div:first-child {
            justify-content: stretch;
        }


        .tableFormManualWith .btn-success {
            width: 100%;
        }
}


/* ----------------------------------------------------------
   MÓVIL PEQUEÑO
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .tableFormManualWith .table-responsive > table {
        min-width: 1050px !important;
    }


    .tableFormManualWith
    .table-responsive
    table {
        font-size: .76rem;
    }


        .tableFormManualWith
        .table-responsive
        table
        th,
        .tableFormManualWith
        .table-responsive
        table
        td {
            padding: 8px 7px;
        }
}

/* Estándar final: prevalece sobre las reglas históricas de las tablas. */
.tableFormManualWith .table-responsive > table.table {
    width: 100% !important;
    min-width: 680px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .875rem;
    line-height: 1.3;
}

.tableFormManualWith .table-responsive > table.table thead th {
    padding: .72rem .75rem;
    background: var(--bazar-primary-dark, #235572);
    border-color: rgba(255, 255, 255, .16) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .78rem;
    text-transform: uppercase;
}

.tableFormManualWith .table-responsive > table.table tbody td {
    padding: .68rem .75rem;
    border-color: var(--table-border, #D9E6EB) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: inherit;
}

.tableFormManualWith .table-responsive > table.table tbody tr:hover td {
    background-color: rgba(31, 154, 207, .07) !important;
}

@media (max-width: 991.98px) {
    .tableFormManualWith .table-responsive > table.table {
        min-width: 620px !important;
        font-size: .8125rem;
    }

    .tableFormManualWith .table-responsive > table.table th,
    .tableFormManualWith .table-responsive > table.table td {
        padding: .58rem .62rem;
    }
}

@media (max-width: 767.98px) {
    .tableFormManualWith .table-responsive > table.table {
        min-width: 560px !important;
        font-size: .75rem;
    }

    .tableFormManualWith .table-responsive > table.table th,
    .tableFormManualWith .table-responsive > table.table td {
        padding: .5rem .55rem;
    }

    .tableFormManualWith .table-responsive > table.table thead th {
        font-size: .68rem;
    }
}

@media (max-width: 575.98px) {
    .tableFormManualWith .table-responsive > table.table {
        min-width: 510px !important;
        font-size: .72rem;
    }

    .tableFormManualWith .table-responsive > table.table th,
    .tableFormManualWith .table-responsive > table.table td {
        padding: .45rem .48rem;
    }
}
