/* Estilos específicos para inventario */
.stock-btn {
    background: #007bff;
    color: white;
    border: 2px solid #0056b3;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    margin: 0 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stock-btn:hover {
    background: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.stock-value {
    display: inline-block;
    min-width: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    margin: 0 5px;
}

.pedido-btn {
    background: #28a745;
    color: white;
    border: 2px solid #1e7e34;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pedido-btn:hover {
    background: #1e7e34;
    border-color: #155724;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    min-width: 80px;
    display: inline-block;
}

.badge-disponible {
    background-color: #28a745;
    color: #ffffff;
    border: 1px solid #1e7e34;
}

.badge-bajo {
    background-color: #ffc107;
    color: #212529;
    border: 1px solid #d39e00;
}

.badge-agotado {
    background-color: #dc3545;
    color: #ffffff;
    border: 1px solid #bd2130;
}

.inventario-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    max-height: 600px;
    overflow-y: auto;
}

.inventario-table th,
.inventario-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    font-size: 13px;
}

.inventario-table th {
    background-color: #343a40;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.inventario-table td {
    color: #495057;
}

.inventario-table tbody tr:hover {
    background-color: #e3f2fd !important;
    transform: scale(1.005);
    transition: all 0.2s ease;
}

.bordered-table {
    border: 2px solid #dee2e6;
}

.bordered-table th,
.bordered-table td {
    border: 1px solid #dee2e6;
}

/* Estilos para badges de tipos de reporte */
.badge-tipo-ingresos {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.badge-tipo-gastos {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

/* Badges para suscripciones */
.badge-premium {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-basico {
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-oro {
    background-color: #f1c40f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.badge-diamante {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Badges para tipos de reporte */
.badge-service {
    background-color: #17a2b8;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-tipo-clientes-nuevos {
    background: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}