/* Custom styles */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}
.toast.show {
    transform: translateX(0);
}
.toast.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.toast.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.toast.info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.toast.warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Pulse animation for auto-refresh */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.pulse-dot {
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}
.spinner-dark {
    border-color: rgba(0,0,0,0.1);
    border-top-color: #3b82f6;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Result box animations */
.result-enter {
    animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Order card */
.order-card {
    transition: all 0.2s ease;
}
.order-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
