#active-order-widget-container {
    position: fixed;
    bottom: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0 15px;
    pointer-events: none;
}

@media (min-width: 768px) {
    #active-order-widget-container {
        bottom: 30px;
        right: 30px;
        left: auto;
        width: 380px;
        padding: 0;
    }
}

.active-order-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    border: 1px solid rgba(108, 92, 231, 0.1);
    pointer-events: auto;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.3s ease,
                box-shadow 0.3s ease;
}

.active-order-widget:hover {
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px) !important;
}

.active-order-widget.show {
    transform: translateY(0);
    opacity: 1;
}

.active-order-widget .widget-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.active-order-widget:hover .widget-icon {
    transform: scale(1.1);
}

.active-order-widget .widget-details {
    flex-grow: 1;
    overflow: hidden;
}

.active-order-widget .widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

.active-order-widget .widget-status {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.active-order-widget .widget-action {
    color: #bbb;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.active-order-widget:hover .widget-action {
    transform: translateX(3px);
    color: #6c5ce7;
}

/* Pulsing dot animation on the icon */
@keyframes widget-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.active-order-widget.show .widget-icon i {
    animation: widget-pulse 2s infinite ease-in-out;
}
