.bodegas-page { padding-bottom: 40px; color: #0f172a; }
.bod-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #fff; border: 1px solid #dbe5f2; border-radius: 22px; padding: 24px 26px; box-shadow: 0 18px 45px rgba(15,23,42,.07); margin-bottom: 18px; }
.bod-kicker { display: block; color: #315eff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.bod-hero h2 { margin: 0 0 6px; font-size: 34px; font-weight: 900; }
.bod-hero p, .bod-modal-head p { margin: 0; color: #667085; }
.bod-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bod-search { min-width: 340px; height: 42px; border-radius: 14px !important; }
.bod-main-btn { border-radius: 14px !important; font-weight: 850; box-shadow: 0 12px 22px rgba(49,94,255,.22); }
.bod-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.bod-stats-grid article { background: #fff; border: 1px solid #dbe5f2; border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.bod-stats-grid span { display: block; color: #718096; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 900; }
.bod-stats-grid strong { display: block; margin-top: 10px; font-size: 29px; line-height: 1; font-weight: 900; }
.bod-panel { background: #fff; border: 1px solid #dbe5f2; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 42px rgba(15,23,42,.06); }
.bod-panel-head { padding: 24px; border-bottom: 1px solid #edf2f7; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.bod-panel-head h3 { margin: 0 0 4px; font-size: 24px; font-weight: 900; }
.bod-panel-head p { margin: 0; color: #7a86a1; }
.bod-page-pill { display: inline-flex; border-radius: 999px; background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; padding: 8px 12px; font-size: 12px; font-weight: 900; }
.bod-table-wrap { padding: 22px; overflow-x: auto; }
.bod-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 860px; }
.bod-table th { background: #f8fafc; border-top: 1px solid #e6eef8; border-bottom: 1px solid #e6eef8; color: #33415c; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 14px 12px; }
.bod-table th:first-child { border-left: 1px solid #e6eef8; border-radius: 14px 0 0 0; }
.bod-table th:last-child { border-right: 1px solid #e6eef8; border-radius: 0 14px 0 0; }
.bod-table td { padding: 14px 12px; border-bottom: 1px solid #edf2f7; vertical-align: middle; }
.bod-table tbody tr:hover { background: #f8fbff; }
.bod-name { font-weight: 900; }
.bod-actions-col { text-align: right; white-space: nowrap; }
.bod-pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.bod-pill-info { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.bod-pill-ok { background: #dcfce7; color: #047857; border: 1px solid #86efac; }
.bod-pill-muted { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.bod-pagination { padding: 0 22px 22px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.bod-empty, .bod-loading { margin: 22px; min-height: 150px; border: 1px dashed #cbd5e1; border-radius: 18px; background: #f8fafc; display: flex; align-items: center; justify-content: center; color: #64748b; font-weight: 850; }
.bod-alert { border-radius: 15px; padding: 13px 16px; margin-bottom: 16px; font-weight: 850; border: 1px solid transparent; }
.bod-alert-success { background: #ecfdf5; color: #166534; border-color: #bbf7d0; }
.bod-alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.bod-alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
body.bod-modal-open { overflow: hidden; }
.bod-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.bod-modal.is-open { display: block; }
.bod-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.52); backdrop-filter: blur(4px); }
.bod-modal-dialog { position: relative; margin: 7vh auto; max-width: 760px; max-height: 88vh; overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 30px 100px rgba(15,23,42,.35); border: 1px solid #e6eef8; }
.bod-modal-head { padding: 22px 24px; border-bottom: 1px solid #edf2f7; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.bod-modal-head h3 { margin: 0 0 4px; font-size: 25px; font-weight: 900; }
.bod-modal-close { border: none; background: transparent; font-size: 36px; line-height: 1; color: #0f172a; cursor: pointer; }
.bod-form { padding: 22px 24px; }
.bod-form label { font-size: 12px; font-weight: 900; color: #132238; }
.bod-row { display: grid; gap: 14px; }
.bod-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bod-check-group { display: flex; align-items: center; padding-top: 25px; }
.bod-check { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; color: #334155; }
.bod-help { display: block; color: #8290aa; margin-top: 4px; }
.bod-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.field-error { display: block; min-height: 16px; margin-top: 4px; font-size: 12px; }
@media (max-width: 900px) { .bod-stats-grid, .bod-row-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .bod-actions, .bod-search { width: 100%; min-width: 100%; } .bod-stats-grid, .bod-row-2 { grid-template-columns: 1fr; } .bod-modal-dialog { width: calc(100vw - 22px); margin: 12px auto; } }

/* 2026-08-22 · Bodegas: encabezados de tabla neutros, sin acento de color */
.bod-table .vase-sort-btn.is-active {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

/* =========================================================
   TANDA 3 · Plantilla general VASE
========================================================= */
.bodegas-page .bod-hero.vase-modern-hero { margin-bottom: 16px; }
.bodegas-page .bod-panel { border-radius: 18px; }
.bodegas-page .bod-panel-head.vase-standard-card-head { padding: 17px 20px !important; }
.bodegas-page .bod-table-wrap.vase-standard-table-wrap {
    padding: 0;
    margin-top: 0;
}
.bodegas-page .bod-pagination { padding: 0 20px 18px; }
#bodegaModal.vase-standard-modal.is-open { display: flex !important; }
#bodegaModal .bod-modal-dialog.vase-standard-dialog {
    margin: 0 !important;
    max-width: none;
    overflow: hidden !important;
}
#bodegaModal .bod-modal-head.vase-standard-modal-head { padding: 14px 18px; align-items: center; }
#bodegaModal .bod-modal-head h2 { margin: 0; font-size: 21px; font-weight: 900; }
#bodegaConfirmModal.vase-standard-confirm.is-open { display: flex !important; }
.bodegas-page .bod-actions-col .vase-row-btn { margin-left: 6px; }
