/* Custom CSS for Kyaw Ko's Perfume */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

[x-cloak] {
    display: none !important;
}

.sidebar-active {
    background-color: #7DD3FC !important;
    color: #1e3a8a !important;
}

.badge-pending {
    background-color: #fbbf24;
    color: #78350f;
}

.badge-processing {
    background-color: #60a5fa;
    color: #1e3a8a;
}

.badge-completed {
    background-color: #34d399;
    color: #065f46;
}

.badge-cancelled {
    background-color: #f87171;
    color: #7f1d1d;
}

.cart-item {
    transition: all 0.2s ease;
}

.cart-item:hover {
    background-color: #f3f4f6;
}

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
    }
}

.loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #1e3a8a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    border-radius: 9999px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}
