/* ============================================================
   BkPaxEncasa - Estilos complementarios al template AspStudio
   Solo añadimos lo que NO existe en el template.
   ============================================================ */

/* Logo en header */
.brand-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--bs-theme);
    color: var(--bs-theme-color);
    margin-right: 8px;
}
.brand-img-text { font-weight: 800; font-size: 14px; }
.brand-text { font-weight: 600; letter-spacing: .3px; }
.brand-text b { font-weight: 800; }

/* ===== Stat tile (dashboard) ===== */
.stat-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}
.stat-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.stat-tile-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}
.stat-tile-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .7;
    font-weight: 600;
}

/* Bg helpers suaves */
.bg-soft-blue   { background: rgba(52,143,226,.12); color: #348fe2; }
.bg-soft-teal   { background: rgba(0,172,193,.12);  color: #00acc1; }
.bg-soft-orange { background: rgba(244,138,0,.12);  color: #f48a00; }
.bg-soft-red    { background: rgba(255,91,87,.12);  color: #ff5b57; }
.bg-soft-green  { background: rgba(50,177,108,.12); color: #32b16c; }
.bg-soft-purple { background: rgba(114,124,245,.12); color: #727cf5; }

/* Filter card sutil */
.filter-card { background: rgba(var(--bs-body-color-rgb), .015); }

/* Botones de acción compactos en tablas */
.btn-icon { padding: .25rem .5rem; line-height: 1; }

/* Header de tabla siguiendo estética AspStudio */
.table-aspstudio thead th {
    background: rgba(var(--bs-body-color-rgb), .04);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: rgba(var(--bs-body-color-rgb), .65);
    border-bottom: 1px solid rgba(var(--bs-body-color-rgb), .15);
    white-space: nowrap;
    padding: .65rem .75rem;
}
.table-aspstudio tbody td {
    font-size: 13px;
    padding: .55rem .75rem;
    vertical-align: middle;
}
.table-aspstudio tbody tr.table-active {
    background-color: rgba(var(--bs-theme-rgb), .12);
}

/* Fila duplicada (resaltado suave en lugar de table-warning fuerte) */
.row-duplicada > td {
    background-color: rgba(255, 193, 7, .08) !important;
}

/* Pequeños refuerzos para legibilidad */
.alert { border: 0; }
