/* ============================================================
   AlmacénPro · Sistema de Gestión de Almacenes
   Hoja de estilos principal — refresh UI 2026
   Paleta slate + azul, tipografía Inter, sombras suaves.
   ============================================================ */

:root {
    --sidebar-bg: #0f172a;
    --sidebar-bg-2: #0f172a;
    --sidebar-active: #2563eb;
    --sidebar-text: #94a3b8;
    --sidebar-text-hover: #f1f5f9;

    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: rgba(37, 99, 235, .10);
    --accent-teal: #10b981;
    --accent-amber: #f59e0b;
    --danger: #e11d48;

    --body-bg: #f6f8fb;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 10px 30px -6px rgba(15, 23, 42, .12);
    --ring: 0 0 0 3px rgba(37, 99, 235, .25);

    --radius: 14px;
    --radius-sm: 10px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    --sidebar-w: 256px;
    --topbar-h: 64px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--body-bg);
    color: var(--text-dark);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(37, 99, 235, .18); }

/* Focus visible para navegación por teclado */
:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 6px;
}

/* Scrollbars discretos */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 2px solid var(--body-bg); }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

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

.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1030;
    transition: transform .25s ease;
    overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; border: none; }

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    min-height: var(--topbar-h);
}
.sidebar-brand .logo {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #3b82f6, var(--brand-dark));
    display: grid; place-items: center;
    color: #fff; font-size: 19px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
}
.sidebar-brand .name { color: #f8fafc; font-weight: 700; font-size: 15.5px; line-height: 1.1; letter-spacing: -.01em; }
.sidebar-brand .sub { color: #64748b; font-size: 11px; }

.sidebar-section {
    padding: 18px 20px 6px;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #475569;
    font-weight: 600;
}

.nav-menu { list-style: none; margin: 0; padding: 6px 12px 24px; }
.nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    color: var(--sidebar-text);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    transition: background .15s ease, color .15s ease;
    cursor: pointer;
}
.nav-menu .nav-link i { font-size: 16px; width: 20px; text-align: center; }
.nav-menu .nav-link:hover {
    background: rgba(148, 163, 184, .10);
    color: var(--sidebar-text-hover);
}
.nav-menu .nav-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, .22), rgba(59, 130, 246, .08));
    color: #fff;
    box-shadow: inset 3px 0 0 var(--brand);
}
.nav-menu .nav-link.active i { color: #60a5fa; }
.nav-menu .nav-link .caret { margin-left: auto; font-size: 12px; transition: transform .2s; }
.nav-menu .nav-link[aria-expanded="true"] .caret { transform: rotate(90deg); }

.submenu { list-style: none; margin: 2px 0 4px; padding: 0 0 0 14px; }
.submenu a {
    display: block;
    padding: 7px 14px 7px 32px;
    color: var(--sidebar-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    transition: color .15s, background .15s;
}
.submenu a:hover { color: #f1f5f9; background: rgba(148, 163, 184, .08); }
.submenu a.active { color: #fff; font-weight: 600; }
.submenu a.active::before {
    content: ""; display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: #60a5fa; margin-right: 8px;
    vertical-align: middle;
}

/* ---------------- Main ---------------- */
.main {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    height: var(--topbar-h);
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1020;
}
.topbar .btn-toggle {
    border: none; background: transparent; font-size: 20px;
    color: var(--text-muted); cursor: pointer; display: none;
}
.topbar .page-title { font-weight: 700; font-size: 17px; margin: 0; letter-spacing: -.01em; }
.topbar .actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar .icon-btn {
    width: 40px; height: 40px; border-radius: var(--radius-sm); border: none;
    background: transparent; color: var(--text-muted);
    display: grid; place-items: center; font-size: 17px; cursor: pointer;
    position: relative;
    transition: background .15s, color .15s;
}
.topbar .icon-btn:hover { background: #f1f5f9; color: var(--text-dark); }
.topbar .icon-btn .dot {
    position: absolute; top: 8px; right: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--danger); border: 2px solid var(--card-bg);
}

.avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, var(--brand-dark));
    color: #fff;
    display: grid; place-items: center; font-weight: 600; font-size: 13px;
}

.content { padding: 24px; }

/* ---------------- Cards / stats ---------------- */
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.page-head h1 { font-size: 21px; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.page-head .breadcrumb-mini { color: var(--text-muted); font-size: 13px; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card-pad { padding: 20px; }

.stat-card {
    position: relative;
    padding: 18px 18px 16px;
    height: 100%;
    min-height: 112px;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .15s var(--ease-out);
}
.stat-card:hover { box-shadow: var(--shadow); border-color: #cbd5e1; }
@media (hover: hover) and (pointer: fine) {
    .stat-card:hover { transform: translateY(-2px); }
}
.stat-card .ic {
    position: absolute; top: 14px; right: 14px;
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center; font-size: 18px;
}
.stat-card .min-w-0 { min-width: 0; }
.stat-card .label {
    color: var(--text-muted); font-size: 11px; font-weight: 600;
    margin: 0 0 10px; padding-right: 48px; line-height: 1.3;
    text-transform: uppercase; letter-spacing: .06em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stat-card .value {
    /* se encoge en pantallas justas para que "Gs. 39.903.000" no se corte */
    font-size: clamp(17px, 0.55vw + 12px, 23px);
    font-weight: 700; line-height: 1; margin: 0 0 7px;
    color: var(--text-dark);
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.stat-card .detail { color: var(--text-muted); font-size: 11.5px; }

/* !important: Bootstrap .bg-* pisa el fondo con su propio !important,
   dejando el glifo del mismo color que el fondo (icono invisible) */
.ic.bg-primary   { background: rgba(37, 99, 235, .12) !important;  color: var(--brand); }
.ic.bg-success   { background: rgba(16, 185, 129, .14) !important; color: #059669; }
.ic.bg-warning   { background: rgba(245, 158, 11, .16) !important; color: #d97706; }
.ic.bg-info      { background: rgba(14, 165, 233, .14) !important; color: #0284c7; }
.ic.bg-secondary { background: rgba(100, 116, 139, .14) !important; color: var(--text-muted); }
.ic.bg-dark      { background: rgba(15, 23, 42, .08) !important;   color: var(--text-dark); }

.card-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.card-title-row h2 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.card-title-row .sub { color: var(--text-muted); font-size: 12px; }

/* Contenedor de gráficos: altura fluida que se auto-ajusta a la pantalla.
   Una altura definida es clave para que Chart.js (responsive) renderice. */
.chart-box { position: relative; width: 100%; height: clamp(240px, 34vh, 340px); }
.chart-box canvas { max-width: 100%; }

.min-w-0 { min-width: 0; }

/* tables */
.table-clean { width: 100%; border-collapse: collapse; }
.table-clean th {
    text-align: left; font-size: 11px; text-transform: uppercase;
    letter-spacing: .06em; color: var(--text-muted); font-weight: 600;
    padding: 10px 12px; border-bottom: 1px solid var(--border);
    background: #f8fafc;
}
.table-clean th:first-child { border-top-left-radius: 8px; }
.table-clean th:last-child { border-top-right-radius: 8px; }
.table-clean td {
    padding: 11px 12px; border-bottom: 1px solid #eef2f7; font-size: 13.5px;
    font-variant-numeric: tabular-nums;
}
.table-clean tr:last-child td { border-bottom: none; }
.table-clean tr:hover td { background: #f8fafc; }

.btn-accion {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; border-radius: 8px;
    color: var(--text-muted); background: transparent;
    border: 1px solid var(--border);
    text-decoration: none; font-size: 14px; margin-left: 4px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-accion:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-accion.danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }

.badge-soft { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.badge-soft.success { background: rgba(16, 185, 129, .12); color: #047857; }
.badge-soft.danger  { background: rgba(225, 29, 72, .10);  color: #be123c; }
.badge-soft.info    { background: rgba(37, 99, 235, .10);  color: var(--brand-dark); }

.progress-thin { height: 8px; background: #eef2f7; border-radius: 6px; overflow: hidden; }
.progress-thin > span { display: block; height: 100%; border-radius: 6px; background: var(--brand); }

/* ---------------- Login ---------------- */
.login-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--body-bg);
}
.login-side {
    background:
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(59, 130, 246, .28), transparent 65%),
        linear-gradient(160deg, #0f172a 0%, #131f38 60%, #17255e 130%);
    color: #fff;
    padding: 56px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.login-side::after {
    content: ""; position: absolute; right: -80px; bottom: -80px;
    width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .30), transparent 70%);
}
.login-side .logo-lg {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, var(--brand-dark));
    display: grid; place-items: center; font-size: 30px; margin-bottom: 28px;
    box-shadow: 0 10px 28px rgba(37, 99, 235, .45);
}
.login-side h1 { font-size: 30px; font-weight: 700; margin: 0 0 14px; line-height: 1.2; letter-spacing: -.02em; }
.login-side p { color: rgba(226, 232, 240, .75); font-size: 15px; max-width: 380px; line-height: 1.6; }
.login-side .feat { margin-top: 30px; list-style: none; padding: 0; }
.login-side .feat li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: rgba(241, 245, 249, .9); }
.login-side .feat i { color: #60a5fa; font-size: 18px; }

.login-form-side { display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-card { width: 100%; max-width: 380px; }
.login-card h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.02em; }
.login-card .muted { color: var(--text-muted); margin-bottom: 28px; }
.login-card label { font-weight: 600; font-size: 13px; margin-bottom: 6px; display: block; }
.login-card .form-control {
    border-radius: var(--radius-sm); padding: 12px 14px;
    border-color: var(--border); font-family: inherit;
}
.login-card .form-control:focus { border-color: var(--brand); box-shadow: var(--ring); }
.btn-brand {
    background: var(--brand); border: none; color: #fff; font-weight: 600;
    border-radius: var(--radius-sm); padding: 12px; width: 100%; font-size: 14.5px;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .1s var(--ease-out);
}
.btn-brand:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
@media (hover: hover) and (pointer: fine) {
    .btn-brand:hover { transform: translateY(-1px); }
}
.btn-brand:active { transform: scale(.98) translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .btn-brand:hover, .btn-brand:active { transform: none; }
}

/* ---------------- Module placeholder ---------------- */
.empty-state {
    text-align: center; padding: 64px 24px;
}
.empty-state .big-ic {
    width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px;
    background: var(--brand-soft); color: var(--brand);
    display: grid; place-items: center; font-size: 44px;
}
.empty-state h2 { font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.empty-state p { color: var(--text-muted); max-width: 480px; margin: 0 auto 8px; }
.empty-state .tag {
    display: inline-block; margin-top: 18px; padding: 6px 16px;
    background: rgba(245, 158, 11, .15); color: #92400e; border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
}

/* ---------------- Bootstrap: ajustes de coherencia ---------------- */
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--border); font-family: inherit; font-size: 13.5px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: var(--ring); }
.btn { border-radius: var(--radius-sm); font-family: inherit; }
.dropdown-menu { border-radius: 12px; border-color: var(--border); box-shadow: var(--shadow); font-size: 13.5px; }
.dropdown-item { border-radius: 8px; padding: 7px 12px; }
.dropdown-menu .dropdown-item:hover { background: #f1f5f9; }
.dropdown-menu.show {
    animation: dropdown-in 150ms var(--ease-out) both;
    transform-origin: top right;
}
@keyframes dropdown-in {
    from { opacity: 0; transform: scale(.95) translateY(-4px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .dropdown-menu.show { animation: none; }
}
.alert { border-radius: var(--radius-sm); }
.toast-stack {
    position: fixed;
    top: calc(var(--topbar-h) + 16px);
    right: 16px;
    z-index: 1090; /* matches Bootstrap's own --bs-toast-zindex convention;
                       above the sidebar (1030) and topbar (1020) in this file */
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 32px);
    pointer-events: none;
}
.toast-stack .alert {
    margin: 0;
    box-shadow: var(--shadow);
    animation: toast-in 220ms var(--ease-out) both;
    pointer-events: auto;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(16px) scale(.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .toast-stack .alert { animation: none; }
}
@media (max-width: 480px) {
    .toast-stack { left: 16px; right: 16px; max-width: none; width: auto; }
}

/* ---------------- Formulario genérico de alta/edición (core/crud/form.html) ----------------
   Se ve como un diálogo/modal centrado (fondo distinto, animación de entrada, botón ✕),
   pero sigue siendo una navegación de página normal — ningún formulario usa AJAX todavía,
   así que la lógica de guardado/validación de cada uno no cambió en nada. */
.form-dialog-backdrop {
    min-height: calc(100vh - var(--topbar-h) - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, .05), transparent 60%);
    animation: form-backdrop-in .4s ease both;
}
@keyframes form-backdrop-in {
    from { background-color: rgba(15, 23, 42, .02); }
    to { background-color: transparent; }
}
.form-dialog {
    width: 100%;
    max-width: 620px;
    padding: 28px 28px 24px;
    animation: form-dialog-in .38s var(--ease-out) both;
}
@keyframes form-dialog-in {
    from { opacity: 0; transform: translateY(16px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.form-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}
.form-dialog-head h1 { font-size: 19px; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.form-dialog-close {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center;
    color: var(--text-muted); text-decoration: none; font-size: 15px;
    transition: background .15s ease, color .15s ease, transform .35s var(--ease-out);
}
.form-dialog-close:hover { background: #f1f5f9; color: var(--text-dark); }
@media (hover: hover) and (pointer: fine) {
    .form-dialog-close:hover { transform: rotate(90deg); }
}
.form-head-ic {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; font-size: 19px; flex-shrink: 0;
    animation: form-ic-pop .55s cubic-bezier(.34, 1.56, .64, 1) .05s both;
}
@keyframes form-ic-pop {
    0% { opacity: 0; transform: scale(.4) rotate(-10deg); }
    65% { opacity: 1; transform: scale(1.1) rotate(3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
/* Los campos entran escalonados — mismo lenguaje de movimiento que ya le gustó al
   cliente en el portal de San Pío (entrada con stagger de las cards). */
.form-grid .form-field {
    opacity: 0;
    animation: form-field-in .28s var(--ease-out) forwards;
}
.form-grid .form-field:nth-child(1) { animation-delay: .05s; }
.form-grid .form-field:nth-child(2) { animation-delay: .075s; }
.form-grid .form-field:nth-child(3) { animation-delay: .10s; }
.form-grid .form-field:nth-child(4) { animation-delay: .125s; }
.form-grid .form-field:nth-child(5) { animation-delay: .15s; }
.form-grid .form-field:nth-child(6) { animation-delay: .175s; }
.form-grid .form-field:nth-child(n+7) { animation-delay: .20s; }
/* opacity + margin-top en vez de transform: un elemento con una animación de
   transform activa (incluso terminada, con fill-mode forwards) crea su propio
   stacking context — eso dejaba el desplegable de Tom Select del campo Producto
   atrapado detrás de los campos siguientes en vez de flotar por encima. */
@keyframes form-field-in {
    from { opacity: 0; margin-top: 10px; }
    to { opacity: 1; margin-top: 0; }
}
.form-actions {
    opacity: 0;
    animation: form-field-in .28s var(--ease-out) .22s forwards;
}
@media (prefers-reduced-motion: reduce) {
    .form-dialog-backdrop, .form-dialog, .form-head-ic,
    .form-grid .form-field, .form-actions {
        animation: none;
        opacity: 1;
    }
    .form-dialog-close:hover { transform: none; }
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 1.25rem;
    margin-bottom: 1.75rem;
}
@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
}
/* Un campo que queda solo al final de una cantidad impar de campos ocupa todo
   el ancho en vez de quedar a la mitad con un hueco vacío al lado. */
.form-grid .form-field:last-child:nth-child(odd),
.form-grid .form-field-checkbox {
    grid-column: 1 / -1;
}
.form-grid .form-field .form-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: .4rem;
    display: block;
}
.form-actions {
    display: flex;
    gap: .5rem;
    padding-top: 1.1rem;
    margin-top: .25rem;
    border-top: 1px solid var(--border);
}
.pagination .page-link {
    border-radius: 8px; margin: 0 2px; border-color: var(--border);
    color: var(--text-muted); font-size: 13px;
}
.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); }
.pagination .page-link:hover { background: #f1f5f9; color: var(--text-dark); }

/* ---------------- Responsive ---------------- */
.sidebar-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1029;
    backdrop-filter: blur(2px);
}
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .topbar .btn-toggle { display: block; }
    .sidebar-backdrop.show { display: block; }
}
@media (max-width: 768px) {
    .login-wrap { grid-template-columns: 1fr; }
    .login-side { display: none; }
    .content { padding: 16px; }
    .page-head h1 { font-size: 19px; }
    .stat-card { padding: 14px; min-height: 100px; }
    .stat-card .ic { width: 40px; height: 40px; font-size: 18px; top: 12px; right: 12px; }
    .stat-card .value { font-size: 22px; }
    .stat-card .label { padding-right: 46px; }
    .topbar .actions .d-md-block { display: none !important; }
}
@media (max-width: 480px) {
    .stat-card .detail { display: none; }
}

/* ---------------- Impresión (PDF) ---------------- */
@media print {
    .sidebar, .topbar, .no-print, .btn-accion { display: none !important; }
    .main { margin-left: 0 !important; }
    .content { padding: 0 !important; }
    .card { border: none !important; box-shadow: none !important; }
    .print-head { display: block !important; }
    body { background: #fff !important; }
    .table-clean th { color: #333 !important; background: #fff !important; }
    a[href]:after { content: ""; }
}
