/* =========================================
   DeLaGarza · Animaciones y efectos visuales
   Plan etapa 6 · 18 micro-interacciones
   ========================================= */

/* A1 · Pulse Crítico (incidencias ALTA / semáforo Vencido-Crítico) */
@keyframes pulseDanger {
    0%   { box-shadow: 0 0 0 0 rgba(244,63,94,.55); }
    70%  { box-shadow: 0 0 0 12px rgba(244,63,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); }
}
.pulse-danger,
.pulse-critico,
.pulse-vencido {
    animation: pulseDanger 2.1s cubic-bezier(0.4,0,0.6,1) infinite !important;
}

/* A1b · Pulse Warning (amber) */
@keyframes pulseWarning {
    0%   { box-shadow: 0 0 0 0 rgba(234,179,8,.55); }
    70%  { box-shadow: 0 0 0 12px rgba(234,179,8,0); }
    100% { box-shadow: 0 0 0 0 rgba(234,179,8,0); }
}
.pulse-warning { animation: pulseWarning 2.4s ease-in-out infinite; }

/* A3 · Card Pop-in (widgets al entrar a viewport) */
.card-pop-in {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    transition: opacity .5s cubic-bezier(.22,.61,.36,1),
                transform .5s cubic-bezier(.22,.61,.36,1);
    will-change: transform, opacity;
}
.card-pop-in.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* A4 · Shimmer Skeleton Loader */
@keyframes shimmer {
    0%   { background-position: -480px 0; }
    100% { background-position: 480px 0; }
}
.shimmer {
    background: linear-gradient(
        90deg,
        #f1f5f9 0%,
        #e2e8f0 35%,
        #f8fafc 60%,
        #e2e8f0 100%
    );
    background-size: 960px 100%;
    animation: shimmer 1.8s linear infinite;
    border-radius: 10px;
    color: transparent !important;
    pointer-events: none !important;
}

/* A5 · Bounce Badge (hover nav-sections sidebar) */
@keyframes badgeBounce {
    0%,100% { transform: scale(1); }
    45%     { transform: scale(1.18); }
    75%     { transform: scale(.94); }
}
.badge-bounce-hover:hover .badge-sm {
    animation: badgeBounce .55s ease-in-out;
}

/* A6 · Float blobs login (fondo) */
@keyframes floatBlob1 {
    0%,100% { transform: translate(-6%, -4%) scale(1); }
    50%     { transform: translate(7%, 5%) scale(1.08); }
}
@keyframes floatBlob2 {
    0%,100% { transform: translate(5%, 6%) scale(1.02); }
    50%     { transform: translate(-7%, -4%) scale(.94); }
}
@keyframes floatBlob3 {
    0%,100% { transform: translate(-2%, 3%) rotate(0deg); }
    50%     { transform: translate(3%, -4%) rotate(8deg); }
}
.blob { position: absolute; border-radius: 9999px; filter: blur(70px); opacity: .38; pointer-events: none; }
.blob.b1 { animation: floatBlob1 16s ease-in-out infinite; }
.blob.b2 { animation: floatBlob2 21s ease-in-out infinite; }
.blob.b3 { animation: floatBlob3 24s ease-in-out infinite; }

/* A7 · Row highlight (tablas) */
.tbl-row-hover tbody tr td {
    position: relative;
    transition: background-color .2s ease;
}
.tbl-row-hover tbody tr:hover td {
    background: linear-gradient(
        90deg,
        rgba(16,185,129,.075) 0%,
        rgba(16,185,129,.03) 40%,
        transparent 100%
    );
}
.tbl-row-hover tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 #10b981;
}

/* A8 · Chevron rotate accordion */
.acc-chevron {
    transition: transform .22s cubic-bezier(.4,0,.2,1);
    display: inline-block;
}
.acc-chevron.rot { transform: rotate(90deg); }

/* A9 · Spinner button submit */
.spinner-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.spinner-inline .fa-spinner { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* A11 · Glass Hover Lift (cards) */
.glass-card {
    transition:
        transform .26s cubic-bezier(.22,.61,.36,1),
        box-shadow .26s cubic-bezier(.22,.61,.36,1),
        border-color .2s ease;
}
.glass-card:hover {
    transform: translateY(-4px) scale(1.006);
    border-color: rgba(16,185,129,.38) !important;
    box-shadow:
        0 18px 42px rgba(16,185,129,.14),
        0 6px 14px rgba(15,23,42,.06) !important;
}

/* A13 · Pulsing Online dot (sidebar user) */
@keyframes pulseOnline {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.35); }
    70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.dot-online {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseOnline 2.2s ease-out infinite;
    border: 1.5px solid #fff;
}

/* A14 · Fade-up reveal accordion subitems */
.acc-fadeup .nav-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease;
}
.acc-fadeup.show .nav-item {
    opacity: 1;
    transform: translateY(0);
}
.acc-fadeup.show .nav-item:nth-child(1) { transition-delay: 40ms; }
.acc-fadeup.show .nav-item:nth-child(2) { transition-delay: 80ms; }
.acc-fadeup.show .nav-item:nth-child(3) { transition-delay: 120ms; }
.acc-fadeup.show .nav-item:nth-child(4) { transition-delay: 160ms; }
.acc-fadeup.show .nav-item:nth-child(5) { transition-delay: 200ms; }
.acc-fadeup.show .nav-item:nth-child(6) { transition-delay: 240ms; }
.acc-fadeup.show .nav-item:nth-child(7) { transition-delay: 280ms; }
.acc-fadeup.show .nav-item:nth-child(8) { transition-delay: 320ms; }
.acc-fadeup.show .nav-item:nth-child(9) { transition-delay: 360ms; }

/* A2 · Stagger chart bars (grow 0 → 100%) */
.chart-bar-wrap .bc-bar {
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 1.1s cubic-bezier(.22,.61,.36,1), filter .2s ease;
}
.chart-bar-wrap.animate .bc-bar { transform: scaleY(1); }
.chart-bar-wrap.animate .bc-col:nth-child(1) .bc-bar { transition-delay: 60ms; }
.chart-bar-wrap.animate .bc-col:nth-child(2) .bc-bar { transition-delay: 140ms; }
.chart-bar-wrap.animate .bc-col:nth-child(3) .bc-bar { transition-delay: 220ms; }
.chart-bar-wrap.animate .bc-col:nth-child(4) .bc-bar { transition-delay: 300ms; }
.chart-bar-wrap.animate .bc-col:nth-child(5) .bc-bar { transition-delay: 380ms; }
.chart-bar-wrap.animate .bc-col:nth-child(6) .bc-bar { transition-delay: 460ms; }

/* A16 · Hover Tooltip Data */
.ux-tooltip {
    position: fixed;
    z-index: 9999;
    background: #0f172a;
    color: #fff;
    padding: .55rem .8rem;
    border-radius: 10px;
    font-size: .78rem;
    line-height: 1.3;
    box-shadow: 0 12px 28px rgba(15,23,42,.35), 0 0 0 1px rgba(255,255,255,.08);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .18s ease, transform .18s ease;
    font-weight: 500;
}
.ux-tooltip.show { opacity: 1; transform: translateY(-4px); }
.ux-tooltip::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: #0f172a;
}

/* A18 · Smooth scroll + anchor offset */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
    .card-pop-in,
    .chart-bar-wrap .bc-bar,
    .acc-fadeup .nav-item,
    html,
    .pulse-danger,
    .pulse-warning,
    .dot-online,
    .blob,
    .badge-bounce-hover:hover .badge-sm {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Status Pills v2 (6 colores) */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 700;
    padding: .28rem .68rem;
    border-radius: 999px;
    line-height: 1;
    letter-spacing: .01em;
    box-shadow: inset 0 0 0 1px currentColor;
    background: currentColor;
    background: transparent;
}
.pill-green    { color: #059669; background: rgba(16,185,129,.11); box-shadow: inset 0 0 0 1px rgba(16,185,129,.35); }
.pill-amber    { color: #b45309; background: rgba(234,179,8,.13);  box-shadow: inset 0 0 0 1px rgba(234,179,8,.4); }
.pill-red      { color: #991b1b; background: rgba(239,68,68,.11);   box-shadow: inset 0 0 0 1px rgba(239,68,68,.35); }
.pill-slate    { color: #334155; background: rgba(100,116,139,.12);  box-shadow: inset 0 0 0 1px rgba(100,116,139,.32); }
.pill-blue     { color: #1d4ed8; background: rgba(37,99,235,.12);   box-shadow: inset 0 0 0 1px rgba(37,99,235,.35); }
.pill-purple   { color: #6d28d9; background: rgba(139,92,246,.13);  box-shadow: inset 0 0 0 1px rgba(139,92,246,.38); }
.pill-cyan     { color: #0e7490; background: rgba(6,182,212,.12);   box-shadow: inset 0 0 0 1px rgba(6,182,212,.36); }
.pill-rose     { color: #9f1239; background: rgba(244,63,94,.11);   box-shadow: inset 0 0 0 1px rgba(244,63,94,.36); }

/* Badge-sm pequeño contador sidebar */
.badge-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 .42rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    background: rgba(16,185,129,.18);
    color: #6ee7b7;
    border: 1px solid rgba(16,185,129,.35);
}
.badge-sm.slate { background: rgba(148,163,184,.18); color: #cbd5e1; border-color: rgba(148,163,184,.35); }
.badge-sm.orange { background: rgba(249,115,22,.18); color: #fdba74; border-color: rgba(249,115,22,.35); }
.badge-sm.purple { background: rgba(139,92,246,.2); color: #c4b5fd; border-color: rgba(139,92,246,.38); }

/* =========================================
   Premium Shell Motion · Glass / Neumo / 3D
   ========================================= */
@keyframes shellGlassSweep {
    0%   { transform: translateX(-130%) skewX(-16deg); opacity: 0; }
    18%  { opacity: .22; }
    55%  { opacity: .14; }
    100% { transform: translateX(230%) skewX(-16deg); opacity: 0; }
}
@keyframes shellIconBob {
    0%,100% { transform: translateY(0) scale(1); }
    50%     { transform: translateY(-2px) scale(1.04); }
}
@keyframes navGlowPulseSoft {
    0%,100% { box-shadow: 0 14px 34px rgba(16,185,129,.18), inset 0 1px 0 rgba(255,255,255,.10); }
    50%     { box-shadow: 0 18px 42px rgba(37,99,235,.18), inset 0 1px 0 rgba(255,255,255,.14); }
}
@keyframes sidebarPanelFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-1px); }
}

.dlg-shell-premium .glass-sheen-hover,
.dlg-shell-premium #sidebar {
    position: relative;
    overflow: hidden;
}
.dlg-shell-premium #topbar {
    position: relative;
}
.dlg-shell-premium .glass-sheen-hover::after,
.dlg-shell-premium #topbar::after {
    content: none;
}

.dlg-shell-premium #sidebar,
.dlg-shell-premium .nav-item.active {
    animation: none;
}
.dlg-shell-premium .nav-item:hover i,
.dlg-shell-premium .accordion-button-dark:hover i,
.dlg-shell-premium .icon-btn:hover i,
.dlg-shell-premium .user-chip:hover .user-chev {
    animation: shellIconBob .6s ease-in-out;
}

/* =========================================
   Gestion De Archivos
   ========================================= */
.ga-document-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:1rem;
}
.ga-document-card{
    border:1px solid rgba(148,163,184,.16);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,250,252,.72));
    box-shadow:0 12px 30px rgba(15,23,42,.08);
    padding:1rem;
}
.ga-document-top{
    display:flex;
    gap:.8rem;
    align-items:flex-start;
    margin-bottom:.85rem;
}
.ga-document-badge{
    width:44px;
    height:44px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:linear-gradient(135deg,#34d399,#2563eb);
    box-shadow:0 10px 22px rgba(37,99,235,.18);
    flex-shrink:0;
}
.ga-document-meta{
    display:flex;
    flex-wrap:wrap;
    gap:.6rem;
    font-size:.75rem;
    color:#64748b;
    margin-bottom:.9rem;
}
.ga-check-item{
    display:flex;
    align-items:center;
    gap:.8rem;
    border:1px solid rgba(148,163,184,.14);
    border-radius:14px;
    padding:.8rem .9rem;
    background:rgba(255,255,255,.56);
}
.ga-check-item.is-loaded{
    border-color:rgba(16,185,129,.22);
    background:rgba(236,253,245,.58);
}
.ga-check-item.is-missing{
    border-color:rgba(244,63,94,.16);
}
.ga-check-icon{
    width:38px;
    height:38px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#eff6ff;
    color:#2563eb;
    flex-shrink:0;
}
.ga-empty-state{
    min-height:220px;
    border:1px dashed rgba(148,163,184,.32);
    border-radius:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    color:#64748b;
    text-align:center;
    padding:1.25rem;
    background:rgba(248,250,252,.75);
}
.ga-empty-state i{
    font-size:2rem;
    opacity:.5;
}
.ga-dropzone{
    position:relative;
    min-height:180px;
    border:1px dashed rgba(52,211,153,.4);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(236,253,245,.76), rgba(239,246,255,.6));
    overflow:hidden;
}
.ga-dropzone.is-dragover{
    border-color:rgba(16,185,129,.75);
    box-shadow:0 0 0 4px rgba(16,185,129,.12);
    transform:translateY(-1px);
}
.ga-dropzone input[type="file"]{
    position:absolute;
    inset:0;
    opacity:0;
    cursor:pointer;
    z-index:2;
}
.ga-dropzone-copy{
    min-height:180px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    text-align:center;
    padding:1.25rem;
}
.ga-dropzone-copy i{
    font-size:2rem;
    color:#10b981;
}
.ga-preview-meta{
    display:flex;
    flex-wrap:wrap;
    gap:.6rem;
}
.ga-preview-meta span{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    padding:.28rem .65rem;
    border-radius:999px;
    background:#eff6ff;
    color:#334155;
    font-size:.76rem;
    font-weight:600;
}
.ga-preview-stage{
    border:1px solid rgba(148,163,184,.18);
    border-radius:20px;
    background:rgba(248,250,252,.72);
    padding:1rem;
}
.ga-preview-empty{
    min-height:54vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:.65rem;
    text-align:center;
    color:#64748b;
}
.ga-preview-empty i{
    font-size:2.2rem;
    opacity:.55;
}
.ga-delete-label{
    padding:.8rem .95rem;
    border-radius:14px;
    background:#f8fafc;
    border:1px solid rgba(148,163,184,.18);
    font-weight:700;
    color:#0f172a;
}
.ga-stat-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:.65rem .8rem;
    border-radius:12px;
    background:#f8fafc;
    border:1px solid rgba(148,163,184,.14);
}

body.dlg-shell-premium.sidebar-collapsed #sidebar {
    animation: none;
}

.shell-hover-lift {
    transition:
        transform .24s cubic-bezier(.22,.61,.36,1),
        box-shadow .24s cubic-bezier(.22,.61,.36,1),
        filter .24s ease;
    will-change: transform;
}
.shell-hover-lift:hover {
    transform: translateY(-2px);
    filter: saturate(1.04);
}

body.is-collapsing #sidebar,
body.is-expanding #sidebar {
    pointer-events: none;
}
body.is-collapsing #topbar,
body.is-expanding #topbar {
    transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease;
}
body.is-collapsing #topbar {
    transform: translateY(-1px) scale(.998);
}
body.is-expanding #topbar {
    transform: translateY(0) scale(1.002);
}

@media (prefers-reduced-motion: reduce) {
    .dlg-shell-premium .glass-sheen-hover::after,
    .dlg-shell-premium #topbar::after,
    .dlg-shell-premium #sidebar,
    .dlg-shell-premium .nav-item.active,
    .dlg-shell-premium .nav-item:hover i,
    .dlg-shell-premium .accordion-button-dark:hover i,
    .dlg-shell-premium .icon-btn:hover i,
    .dlg-shell-premium .user-chip:hover .user-chev,
    .shell-hover-lift {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}

/* =========================================
   MÓDULO 4 MODALES KPI DRILLDOWN (Plan mkpi3)
   Arquitectura: Header gradiente + 3 Secciones Body + Footer CTA
   ========================================= */

/* --- Backdrop Modal Glassmorphism --- */
.modal-backdrop.show { opacity: .42; background: rgba(15,23,42,.42); }
.modal { z-index: 1055; position: fixed; inset: 0; }
.modal-backdrop { z-index: 1050 !important; }
.modal.show .modal-dialog,
.modal.show .modal-content,
.modal.show .modal-header,
.modal.show .modal-body,
.modal.show .modal-footer,
.modal.show .btn-close {
    position: relative;
    z-index: 1060;
}
.modal-content {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 18px 42px -18px rgba(15,23,42,.28), 0 0 0 1px rgba(15,23,42,.04);
    overflow: hidden;
}
.modal-dialog { margin: 1.5rem auto; }
.modal-dialog-scrollable .modal-content { max-height: calc(100vh - 3rem); }
.modal-kpi-body { padding: 1.4rem 1.5rem; }
.modal-footer { padding: 1rem 1.5rem 1.25rem; background: #f8fafc; border-top: 1px solid rgba(226,232,240,.9); }

/* --- Icono Header Modal (54px gradiente) --- */
.modal-header { padding: 1.25rem 1.5rem 1rem; }
.modal-kpi-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    box-shadow: 0 6px 18px -6px rgba(0,0,0,.25);
}

/* --- Modal Header Themes: Blue / Green / Orange / Purple --- */
.modal-header-kpi-blue {
    background:
        linear-gradient(135deg, rgba(59,130,246,.12), rgba(29,78,216,.06)),
        rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(59,130,246,.18);
}
.modal-header-kpi-blue .modal-kpi-icon { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.modal-header-kpi-blue .modal-title { color: #1e3a8a; }

.modal-header-kpi-green {
    background:
        linear-gradient(135deg, rgba(16,185,129,.12), rgba(15,118,110,.06)),
        rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(16,185,129,.18);
}
.modal-header-kpi-green .modal-kpi-icon { background: linear-gradient(135deg,#10b981,#0f766e); }
.modal-header-kpi-green .modal-title { color: #065f46; }

.modal-header-kpi-orange {
    background:
        linear-gradient(135deg, rgba(245,158,11,.12), rgba(217,119,6,.06)),
        rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(245,158,11,.2);
}
.modal-header-kpi-orange .modal-kpi-icon { background: linear-gradient(135deg,#f59e0b,#d97706); }
.modal-header-kpi-orange .modal-title { color: #92400e; }

.modal-header-kpi-purple {
    background:
        linear-gradient(135deg, rgba(139,92,246,.12), rgba(109,40,217,.06)),
        rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(139,92,246,.2);
}
.modal-header-kpi-purple .modal-kpi-icon { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.modal-header-kpi-purple .modal-title { color: #5b21b6; }

.modal-header .btn-close { filter: drop-shadow(0 1px 1px rgba(0,0,0,.1)); }

/* --- Mini Stats Cards (Sección S1) --- */
.mini-stat-card {
    border-radius: 14px;
    padding: .85rem 1rem;
    box-shadow:
        0 1px 2px rgba(15,23,42,.06),
        0 4px 12px -4px rgba(15,23,42,.08);
    border: 1px solid rgba(226,232,240,.8);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mini-stat-card:hover {
    transform: translateY(-1px);
    box-shadow:
        0 2px 3px rgba(15,23,42,.07),
        0 8px 20px -6px rgba(15,23,42,.14);
}

/* --- KPI Driver Row (Sección S2 · Listado Top 8) --- */
.kpi-driver-row {
    min-height: 58px;
    border-radius: 12px;
    border: 1px solid rgba(226,232,240,.75);
    background: #ffffff;
    cursor: pointer;
    transition: box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
    --brand: #10b981;
    --brand-soft: rgba(16,185,129,.05);
}
.kpi-driver-row:hover {
    box-shadow: inset 3px 0 0 var(--brand), 0 6px 16px -10px rgba(15,23,42,.10);
    background: var(--brand-soft);
    border-color: rgba(16,185,129,.35);
}

/* --- Trigger KPI Fix (stat-card ahora button no a) --- */
button.stat-card,
button.stat-card:focus,
button.stat-card:active {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: left;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    font-family: inherit;
    color: inherit;
}
button.stat-card:hover,
button.stat-card:focus-visible {
    filter: brightness(1.02);
}

/* --- Progress Distribution Bars (Sección S3) --- */
.progress-distribution {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(15,23,42,.1);
}
.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width .75s cubic-bezier(.22,.61,.36,1);
    background: linear-gradient(90deg,#10b981,#059669);
}

/* --- Botones outline contextuales (usados en quick actions modales) --- */
.btn-outline-slate {
    color: #475569;
    background: #ffffff;
    border-color: #cbd5e1;
}
.btn-outline-slate:hover { color: #0f172a; background: #f1f5f9; border-color: #94a3b8; }

.btn-outline-amber {
    color: #92400e;
    background: #ffffff;
    border-color: #fbbf24;
}
.btn-outline-amber:hover { color: #78350f; background: #fffbeb; border-color: #f59e0b; }

.btn-outline-purple {
    color: #5b21b6;
    background: #ffffff;
    border-color: #c4b5fd;
}
.btn-outline-purple:hover { color: #4c1d95; background: #f5f3ff; border-color: #a78bfa; }

.text-slate { color: #64748b !important; }
.border-dashed { border-style: dashed !important; }

/* --- Ajuste botón WhatsApp en Modal Inquilinos (brands FA) --- */
.btn.btn-success .fa-brands.fa-whatsapp { vertical-align: baseline; }

/* --- Scrollbar sutil dentro modales scrollable --- */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar { width: 8px; }
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb { background: rgba(148,163,184,.5); border-radius: 999px; }
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track { background: transparent; }

/* --- Min width auxiliares --- */
.min-w-0 { min-width: 0 !important; }
