/* =========================================================
   VASE · Listas de precios
   Extiende la plantilla general sin crear un lenguaje nuevo.
   ========================================================= */

.lp-wrap { padding: 20px 24px; }
.lp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.lp-card {
    overflow: hidden;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .035);
}

.lp-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.lp-card-title {
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.lp-toolbar { flex-wrap: wrap; }
.lp-state-filter { width: min(220px, 100%); flex: 0 0 220px; }

.lp-table-wrap { margin-top: 14px; }
.lp-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    background: #fff;
}

.lp-table th {
    padding: 11px 12px;
    border-bottom: 1px solid #e8eef5;
    background: #f8fafc;
    color: #55637a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .035em;
    text-align: left;
    text-transform: uppercase;
}

.lp-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #eef3f8;
    color: #334155;
    font-size: 13px;
    vertical-align: middle;
}
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table tbody tr:hover { background: #fbfdff; }
.lp-center { text-align: center !important; }

.lp-adjustment-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--liud-search-button, #2563eb) 9%, #fff);
    color: color-mix(in srgb, var(--liud-search-button, #2563eb) 78%, #17304c);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.lp-adjustment-preview {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #f8fafc;
}
.lp-adjustment-preview span { color: #64748b; font-size: 12px; font-weight: 750; }
.lp-adjustment-preview strong { color: #172033; font-size: 21px; font-weight: 900; white-space: nowrap; }
.lp-toggle-grid { grid-template-columns: 1fr; }

.lp-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1300;
    max-width: min(420px, calc(100vw - 36px));
    padding: 11px 14px;
    border-radius: 12px;
    background: #172033;
    color: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .2);
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}
.lp-toast.show { opacity: 1; transform: translateY(0); }
.lp-toast.ok { background: var(--liud-save-button, #12943b); }
.lp-toast.bad { background: #b42318; }

#lpDeleteModal.is-open { display: flex; }

@media (max-width: 760px) {
    .lp-wrap { padding: 14px; }
    .lp-header { align-items: stretch; flex-direction: column; }
    .lp-state-filter { width: 100%; flex-basis: 100%; }
    .lp-adjustment-preview { align-items: flex-start; flex-direction: column; }
}
