/* ----------------------------------------------------
   Estilos Globales del Sistema de Gestión y POS
   ---------------------------------------------------- */

.card-header-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    padding: 0.9rem 1.25rem;
}

.btn-action-green {
    background-color: #2fb344 !important;
    color: #ffffff !important;
    border: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease-in-out;
}

.btn-action-green:hover {
    background-color: #249636 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.btn-action-red {
    background-color: #d63939 !important;
    color: #ffffff !important;
    border: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease-in-out;
}

.btn-action-red:hover {
    background-color: #b72727 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.btn-action-orange {
    background-color: #ff922b !important;
    color: #ffffff !important;
    border: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease-in-out;
}

.btn-action-orange:hover {
    background-color: #f76707 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

/* Tablas Condensadas, Rayadas (Zebra Visible Oscuro/Claro) y con Hover */
.table.table-sm > :not(caption) > * > * {
    padding: 0.55rem 0.75rem !important;
}

/* Fila Oscura / Sombreada */
.table.table-striped > tbody > tr:nth-of-type(odd) > td,
.table.table-striped > tbody > tr:nth-of-type(odd) > th,
.table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #e9ecef !important;
    color: #1e293b !important;
}

/* Fila Clara / Blanca */
.table.table-striped > tbody > tr:nth-of-type(even) > td,
.table.table-striped > tbody > tr:nth-of-type(even) > th,
.table.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

/* Hover al pasar el cursor */
.table.table-hover > tbody > tr:hover > td,
.table.table-hover > tbody > tr:hover > th,
.table.table-hover > tbody > tr:hover {
    background-color: #dbeafe !important;
    transition: background-color 0.15s ease-in-out;
}

.table > thead th {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-transform: uppercase;
    color: #334155;
    background-color: #f1f5f9 !important;
    border-bottom: 2px solid #cbd5e1 !important;
    padding: 0.65rem 0.75rem;
}



