/**
 * Estilos Personalizados Premium - Ventas e Inventario (Español)
 */

.card, .btn, .nav-link, .dropdown-item {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -8px rgba(0, 0, 0, 0.04) !important;
}

.border-gradient-primary {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #206bc4, #4299e1) 1;
}
.border-gradient-success {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #2fb344, #4ade80) 1;
}
.border-gradient-warning {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #f59f00, #fbbf24) 1;
}
.border-gradient-danger {
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #d63939, #f87171) 1;
}

.glass-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.bg-login-gradient {
    background: radial-gradient(circle at 10% 20%, rgb(0, 95, 189) 0%, rgb(0, 150, 255) 90%);
    min-height: 100vh;
}

.pulse-badge-danger {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(214, 57, 57, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(214, 57, 57, 0); }
    100% { box-shadow: 0 0 0 0 rgba(214, 57, 57, 0); }
}

.table-responsive { border-radius: 8px; }
.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-color: #f8fafc;
}
.table td { vertical-align: middle; }

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.pos-product-search-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.15s;
}
.pos-product-search-item:hover { background-color: #f8fafc; }
.pos-cart-table td { padding: 8px 12px; }

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
.modal-header {
    border-bottom: 1px solid #f1f5f9;
    background-color: #f8fafc;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.modal-footer {
    border-top: 1px solid #f1f5f9;
    background-color: #f8fafc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
