/* PionStock Global Style */

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Sidebar Item Interaction */
.sidebar-item {
    transition: all 0.2s ease-out;
}
.sidebar-item.active {
    background: #015196;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(1, 81, 150, 0.25);
}

/* Premium Buttons */
.btn-premium {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}
.btn-primary {
    background: #015196;
    color: white;
}
.btn-primary:hover {
    background: #02437c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(1, 81, 150, 0.15);
}

/* Card Effects */
.card-hover {
    transition: all 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.08);
}

/* Modal Animations */
#modalOverlay {
    transition: opacity 0.3s ease;
}
#modalContent.show {
    opacity: 1;
    transform: scale(1);
}

/* Notification Animation */
.notif-item {
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Table Design */
.pion-table th {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    font-weight: 700;
    padding: 1rem 1.5rem;
}

.pion-table td {
    padding: 1rem 1.5rem;
    font-size: 0.825rem;
}

/* Progress bar for stock */
.stock-bar {
    height: 4px;
    border-radius: 99px;
    background: #f1f5f9;
    overflow: hidden;
}
.stock-fill {
    height: 100%;
    transition: width 0.8s ease;
}

/* Responsive Hide for Mobile Sidebar */
@media (max-width: 768px) {
    .sidebar-layout { display: block; }
}
