/* Order Toast Notifications */
.order-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 10000;
    border-left: 4px solid #ff6b6b;
    margin-bottom: 12px;
}

.order-toast-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-toast-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.order-toast-title {
    font-size: 14px;
    font-weight: 600;
}

.order-toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}

.order-toast-close:hover {
    opacity: 1;
}

.order-toast-body {
    padding: 16px;
}

.order-toast-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-accept-order {
    background: #10b981;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-accept-order:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-reject-order {
    background: #ef4444;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reject-order:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Animations */
.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 1s infinite;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Custom Message Toasts */
.custom-message-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    z-index: 10001;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.message-success {
    background: #10b981;
}

.message-error {
    background: #ef4444;
}

.message-warning {
    background: #f59e0b;
}

/* Pending Orders Badge */
#pending-orders-badge {
    background: #ef4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .order-toast {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        margin-left: auto;
        margin-right: auto;
    }
}